Find File In Path; Find First Svs Layer - Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Find File in Path

Find First SVS Layer

WiseScript Package Editor Reference
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.
Overwrite archive file if it already exists
Mark this to overwrite the archive file if it already exists.
See also:
About the Altiris SVS Applet in the Virtual Package Editor Help
About SVS Script Actions
This action searches for a file on the destination computer. If more than one match
exists, only the first match is returned.
To complete the dialog box
File Name
Enter just the file name, not a full path. Wildcard characters (*, ?) are not allowed.
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.
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.
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).
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.
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.
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 117
on page 164.
WiseScript Actions
163

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 8.0

Table of Contents