EasyManua.ls Logo

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 - Find SVS Layer GUID; Get Environment Variable

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WiseScript Editor Reference 84
WiseScript Actions
To complete the dialog box
z Layer GUID Variable
Enter a name for a variable in which to place the layer’s GUID.
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.
See also:
About SVS Script Actions on page 39
Find SVS Layer GUID
This SVS script action finds the GUID of a virtual software layer and creates a variable
for this GUID. You can use this variable in most of the other SVS script actions to
identify the layer in the Layer GUID field.
To complete the dialog box
z Layer name
Enter the name of the layer.
z GUID variable
Enter a name for a variable in which to place the layer’s GUID.
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.
See also:
About SVS Script Actions on page 39
Get Environment Variable
This action puts the value of a Windows environment variable into a WiseScript variable.
To complete the dialog box
z Env. Variable
Enter a Windows environment variable.
z Variable Name
Enter a variable to store the value of the environment variable.
z Default Value
(Optional) Enter the value to store in the variable if the environment variable is not
found.
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.
To run a batch file or other application in a DOS window, use Get Environment Variable
to put the value of ComSpec (path to command.com) into a variable (example: put it in
%COMMAND%). Then use the Execute Program action to call command.com by entering

Table of Contents

Related product manuals