SVSGlobalEx
I've recently had a few people message me about Global Excludes in SVS. The specific problem they seem to be having is if they exported a layer, the Global Excludes don't export. To help people that want to be able to do this I've written a quick tool that will help in the process.
SVSGlobalEx is a command line tool that will either export or import a Global Exclude list. This list is an XML file that the tool generates on use (or you could make your own if you wished). Used in conjuction with SVS OnEvents and the OnEvent Meta Directory you can set something to save global excludes into the VSA on Export and to import them when a layer is imported.
Update: SVSGlobalEx now calles FSL2ReloadExcludeList so the computer doesn't need to be restarted or SVScmd used for the changes to come into effect.
Usage
This tool requires .NET 3.5 to run
SVSGlobalEx takes a path or one of two switches and uses a file named SVSGlobalEx.xml
- [/E]xport will save SVSGlobalEx.xml to the path entered.
- [/I]mport will import SVSGlobalEx.xml from the path entered, then deletes the XML file.
So a sample use would be: SVSGlobalEx "C:\\" /E
OnEvent Use
There are two articles you need to read before using SVSGlobalEx with OnEvents; These are:
I would use the export function with OnPreExport and save it to the Meta directory of the layer you're exporting. This will require you to first find the proper read-only layer in the FSLRDR directory and second create said Meta directory. I'd also place a copy of SVSGlobalEx into that meta folder for use on Import.
With import I'd use it with OnPostImport.
If you don't use the meta folder with Import then the Global Excludes will get saved into the layer itself and never get loaded.
| License: | Altiris EULA By downloading this software, you agree to the terms and conditions in the Altiris End User License Agreement |
| Support: | User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab. |
| Attachment | Size |
|---|---|
| SVSGlobalEx.zip | 89.2 KB |
- Login or register to post comments
- 1302 reads
- Printer-friendly version
















Reloading Global Excludes
I forgot about SVSCMD's reload command for global excludes at the time of writing this which is why the tool doesn't call it.
I've also just got the SVS API information for global excludes so I plan on updating the tool to use the API that reloads the exclude list for you sometime this week (time permitting).
SVSGlobalEX has been
SVSGlobalEX has been updated, it now calls the FSL2ReloadExcludeList api after the import of the global excludes so you don't have to restart or use SVScmd for the excludes to work.