WiseScript Editor Reference
83
WiseScript Actions
To complete the dialog box
z
File Name
Enter just the file name, not a full path. Wildcard characters (*, ?) are not allowed.
z
Variable Name
Enter a variable in which to store the path of the file if it is found. If the file is not
found, this variable stores the Default Value specified below.
z
Default Value
Enter a value to put into the variable if the file is not found. To use an If statement
that tests the variable, leave this blank so it evaluates to false.
To install a new version of the file, specify the file’s typical location here. Then, if the
file is found, the location replaces the default value, but if it is not, this default value
is used to install the file.
z
Description
Enter text to display if the find operation takes more than 1.5 seconds to complete.
This happens only if the list of directories in the PATH is very long or a directory is
on a slow device (example: CD-ROM).
z
Search Directories
Enter a semicolon-delimited list of directories to search. You can use variables. If
this field is blank, only directories in the PATH environment variable are searched.
z
Remove File Name
Mark this to remove the file name from the end of a returned path, leaving only the
directory name. This operation is not performed on the Default Value.
Find First SVS Layer
This SVS script action starts a search for a virtual software layer on the destination
computer. To find additional layers, use this script action with the Find Next SVS Layer
script action.
See
Find Next SVS Layer
on page 83.
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 Next SVS Layer
This SVS script action finds the next virtual software layer on the destination computer
after the Find First SVS Layer script action finds the first layer. To find additional layers,
repeat this script action.
See
Find First SVS Layer
on page 83.