WiseScript Package Editor Reference
42
WiseScript Actions
Script Action for Initializing SVS
The Initialize SVS script action initializes the SVS Driver (Software Virtualization Agent)
so that you can communicate with it. It is part of all of the SVS specific actions. If you
create a user-defined, SVS-specific action, begin the action with this action.
Also see the article
Using WiseScripts to Manage and Update Virtual Software Packages
in the Altiris Knowledgebase (article 27373).
Activate SVS Layer
This SVS script action activates a virtual software layer.
To complete the dialog box
z
Layer GUID
Enter the layer’s GUID (globally unique identifier) or a variable that represents the
layer’s GUID. If you enter the layer’s GUID, do not include the { } brackets.
???For information on creating a variable for a layer’s GUID, see
Create SVS Layer
on page 66 and
Find SVS Layer GUID
on page 85.
See also:
About SVS Script Actions
on page 40
Add Directory to PATH
This action adds a directory to the PATH environment variable, as set in Autoexec.bat.
The directory is appended to every occurrence of the SET PATH statement that does not
already contain it. A SET PATH statement is added if none exists. The system restarts at
the end of installation so that the new PATH takes effect.
To complete the dialog box
z
Directory to Add to PATH
Enter the directory to be added to PATH (example: enter %MAINDIR%).
z
Location of New Directory
Select to add to the beginning or end of the PATH.
z
Path Selection
Some destination computers have several PATH variables. Use this list to add the
directory to all PATH variables.
Add File to SVS Layer
This SVS script action adds a file to a virtual software layer. This can be an existing layer
or a layer that the WiseScript creates. The file is added to the read-only sublayer.
Note
Use this action on a deactivated SVS layer only.