Double-click Layer Import
One thing I don’t like about SWV is the hassle it is to import anything, I really hate having to navigate through the browse window to import a layer or to have to open a command prompt and type out the full path to the layer. Thankfully there’s an easy solution to this problem that, if you’re lazy like me, you’ll find quite useful and that’s making a quick change to the registry to allow for a layer to import by double clicking on it.
- With SWV installed navigate to KEY_CLASSES_ROOT\SVSAdmin.Document.Layer\shell\Open\command
- Delete the command value
- Change the (Default) to C:\Program Files\Symantec\Workspace Virtualization\svscmd.exe import -p %1 (or where ever SVScmd is installed)
Now this uses SVScmd so a command window will open to report the import status, so if you want something different you can create a quick VSscript, ran using wscript, to make an import happen in the background (with no command window or UI) or something like a simple progress bar using .NET and my Managed Code Class for the SVS SDK.
You can use this same method for importing VRAs as well as applying patches to a layer just navigate to their respectable shell commands and change the (Default) command.