WiseScript Package Editor Reference
94
WiseScript Actions
variable is ignored and can be left blank. The result is considered true if it
evaluates to a non-zero result.
(The password comparisons are applicable in WiseScript Package Editor only.)
The Value
Enter the value to be used in the comparison, or an expression if the
comparison is set to Expression True. If you enter variable names, do not
surround them with percent signs (%). If you enter compiler variables, then you
must surround them with percent signs.
2. Below the If Statement, add one or more actions to perform if the variable has the
specified value.
3. (Optional) Add an Else or several ElseIf actions. Follow the Else action with one or
more actions to perform if the compiler variable does not have the specified value.
4. Add an End Statement.
Sample scripts that use this action are Search.wse, WiseUp.wse, and scripts that
manipulate strings and perform calculations. For details on sample scripts, see
ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
See also:
Else Statement
on page 76
ElseIf Statement
on page 76
End Statement
on page 77
Import SVS Layer
This SVS script action imports a virtual runtime archive file (.VRA) into an SVS layer. To
activate the layer after importing it, use the Activate SVS Layer script action.
To complete the dialog box
z
Archive path
Specify the path and file name for the archive file. You can use WiseScript variables.
z
GUID variable
(Optional) 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.
z
Overwrite layer if it already exists
Mark this option to overwrite the layer if it already exists.
See also:
Activate SVS Layer
on page 41
About the Altiris SVS Applet in the Virtual Package Editor Help
About SVS Script Actions
on page 40