WiseScript Editor Reference
86
WiseScript Actions
z
Remove File Name
Mark this to remove a file name from the end of a returned path, leaving only the
directory name. This operation is not performed on the Default Value.
z
Expand Environment Variables
If you read a REG_EXPAND_SZ value, mark this to have all environment variables in
the registry value replaced with their actual values.
The sample script URL.wse uses this action. For details on sample scripts, see
ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
Get SVS Layer Info
This action retrieves information about an SVS layer on the destination computer and
puts that information into different variables.
To complete the dialog box
Specify the layer’s GUID and select or enter a variable name in each field whose
information you want to gather. Leave the other fields empty.
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 65 and
Find SVS Layer GUID
on page 84.
z
Return variable
(Optional.) Enter a name for the return variable. When this script action runs
successfully, either 0 or 1 is placed in this variable.
z
Active Variable
If the layer is deactivated, 1 is placed in this variable. If the layer is activated, 2 is
placed in this variable.
z
Active On Start Variable
If the layer is deactivated when the computer starts, 1 is placed in this variable. If
the layer is activated when the computer starts, 2 is placed in this variable.
z
Layer Name Variable
The name of the layer as it appears in the Symantec SVS applet is placed in this
variable.
z
Layer Type Variable
If the layer is read-only, 0 is placed in the variable. If the layer is writeable (peer
layer), 1 is placed in the variable. If the layer is a data layer, 2 is placed in the
variable.
z
Peer GUID Variable
The GUID of the writeable layer that is associated with this layer is placed in this
variable.
z
Reg Path Variable
The path to the registry key where layer attributes are stored is placed in this
variable. These attributes include information such as the layer’s name and GUID.
z
File Redir Path Variable
The file redirect path where the layer’s files are stored is placed in this variable.