SWV 6.1 Sp6 - Command Line Switches for New SWV Installer

book

Article ID: 179989

calendar_today

Updated On:

Products

Workspace Virtualization (formerly SVS)

Issue/Introduction

 

Resolution

With Symantec Workspace Virtualization 6.1 SP6 Symantec introduced a new EXE based installer that replaces our standalone MSI installer, which is now wrapped inside the EXE, because a Visual C++ runtime is being installed for XPF package support.

This new installer supports most of the old install options that the MSI did but the switches are a little different:

Command line arguments for SWV standalone installer:

/s ---- Silent mode running

/e ---- Display error and reboot messages. This option will only work with /s and returns a standard MSI error code.

SWV.ADDLOCAL=SVS_Admin,SDK,Altiris_NS   ---- To install admin, sdk, NS.  You can pass them in any order or only one.

SWV.INSTALLDIR=<PATH>  ---- To specify the target dir for the installation

SWV.DEFAULT_FILE_REDIR=<PATH> ---- To change the meta data storage folder (Virtualization "redirect" directory). The default value is <system drive>:\fslrdr

SWV.PRODUCT_KEY=<PRODUCT KEY> ---- To specify the product key.

SEV.INSTALL=SWV  --- To install SWV alone (Using this option will not install VC runtime)

SEV.CFG=<CFG FILE PATH> --- Configuration file that contains the installer properties and values.

 

An example command line that would install everything would be: Symantec_Workspace_Virtualization.exe /s /e SWV.PRODUCT_KEY=xxxxx-xxxxx-xxxxx-xxxxx SWV.REBOOT=ReallySuppress SWV.ADDLOCAL=SVS_Admin,SDK,Altiris_NS

You’ll notice that we don’t have the option for not installing the default Global Excludes for Desktop and My Documents as these are no longer optional and are always installed.

Also by default a log file is saved to %systemdrive%\SWVAgent.log

One more thing of note is the SEV.CFG switch will you can use to pass in a config file that contains any of the above switches in it that start with SWV or SEV.  This is just a simple text file with each option in its own line.  Taking the previous install example from above you would create a text file containing the following:

SWV.PRODUCT_KEY=xxxxx-xxxxx-xxxxx-xxxxx

SWV.REBOOT=ReallySuppress

SWV.ADDLOCAL=SVS_Admin,SDK,Altiris_NS

 

To then call your config file you’ll need to do the following:  Symantec_Workspace_Virtualization.exe /s  SEV.CFG=test.txt

Additional information can be found in the Symantec Workspace Virtualization 6.1 Sp6 Administrator Guide.