Video Screencast Help

Double-click Layer Import

Created: 10 Jul 2009 • Updated: 29 Jul 2010 • 2 comments
Jordan's picture
+1 1 Vote
Login to vote

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.

  1. With SWV installed navigate to KEY_CLASSES_ROOT\SVSAdmin.Document.Layer\shell\Open\command
  2. Delete the command value
  3. 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.

Comments 2 CommentsJump to latest comment

shakyd's picture

Hi Jordan - in SWV 6.1 SP6, do I need to change a different registry key to get this working? (such as SVSAdmin.Package). Currently, this opens up the SVSAdmin console but doesn't do anything else (like import it). I was hoping that I could change the key to import it, autoactivate and activate all by using the registry.

Login to vote
Jordan's picture

It will but XPFs point to SVSAdmin.Document.Package instead so you can just make the changes there.

If a forum post solves your problem please flag is as the solution

Login to vote