Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

VSAtoXPF

Created: 03 Jun 2010 • Updated: 29 Jul 2010 | 6 comments
Jordan's picture
+1 1 Vote
Login to vote

With the release of 6.1 SP4 we’ve introduced the new XPF format that provides improved import, export and streaming performance but if you’ve already got a lot of VSAs converting them all can be a pain.
With VSAtoXPF you have the option to quickly convert all the VSAs in a given location into XPF files by either SWV or Wise Virtual Composer (WVC)

The differences between the two are that WVC creates a repository where all the information for creating a Streaming Upgrade package as well as the ability to apply a Composer Template (XPT file) during the conversion process.  And an advantage of using this tool over WVC's command line is that VSAtoXPF cleans up any layer converted in virtulzation, an import is required and composer's CLI doesn't delete after converting.

If no specific XPT is specified WVC always applies a default template, the only real change in this template is that the layer setting Activate on System Startup will be set.  If you don’t wish for this to happen then use the switch /cleanXPT.

XPFs created with this tool will be saved in the same location as your VSAs.

Requirements
.Net 2.0
Wise Virtual Composer (if converting via composer)
Symantec Workspace Virtualization 6.1 SP4 or greater
 
Usage:
/mode or /m -- The method to convert the VSAs.  Valid arguemnts are SWV or Composer.
/vsapath or /vsa -- The path to where the VSAs are stored.  XPFs will also be saved here.
/searchSubDir-- Tells VSAtoXPF to convert alls VSAs in the subdirectories of /VSApath.
 
The following switches are for the composer mode only:
/templatepath or /template -- The location for the XPT path, leave blank for composer default.xpt.
/cleanXPT -- Tells program to make a copy of default.XPT with all layer information removed.
Note: /templatepath and /cleanXPT cannot be used togethor

Examples:
VSAtoXPF /m swv /vsa C:\VSAStore
VSAtoXPF /m swv /vsa C:\VSAStore /searchSubDir
VSAtoXPF /m composer /vsa C:\VSAStore /cleanXPT
VSAtoXPF /m composer /vsa C:\VSAStore /template C:\templates\myTemplate.XPT
 

Comments 6 CommentsJump to latest comment

dpowell2's picture

I can't get this tool to work using the composer switch but it works fine using the swv switch.

0
Login to vote
Jordan's picture

is Composer installed?

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

0
Login to vote
dpowell2's picture

Yes composer is installed. It seems some work but most do not. I think i'll recreate them all anyway.

0
Login to vote
Jordan's picture

Can you give me some info about what your set up is (SWV and composer version, Windows version)? as well as what you're trying to convert and if you're using any custom templates?

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

0
Login to vote
Jordan's picture

So it turns out that for this to work with composer, and this is an issue with composer's command line, is that you have to give the full path to the VSAs for the /VSA switch and not a relative path.

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

0
Login to vote
shakyd's picture

Hi there,

I have some very old VSAs that I thought I'd try out using this tool. I put them in a folder and ran the command with the /swv switch. It imports them all fine but can't export - each one has the error: No layer with the specified GUID or Name exists in the database. Error - 1041. 87 - the parameter is incorrect. SYSCMD failed: Export

I have 6.1 SP6. Am I doing something wrong or do I need something else installed to get to work? I watched the video on the web-site but this seems to only cover the composer mode.

Many thanks

0
Login to vote