Import Svs Layer; Include Script - Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Import SVS Layer

Include Script

WiseScript Editor Reference
See also:
Else Statement
on page 75
ElseIf Statement
on page 75
End Statement
on page 76
To complete the dialog box
Archive path
Specify the path and file name for the archive file. You can use WiseScript variables.
GUID variable
(Optional) Enter a name for a variable in which to place the layer's GUID.
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 layer if it already exists
Mark this option to overwrite the layer if it already exists.
See also:
Activate SVS Layer
on page 40
About SVS Script Actions
This action adds an additional script to the current installation script. During compile,
the include script is copied into the calling script at the location of the Include Script
action, resulting in a combination of the scripts.
Include scripts can save time because you can develop a library of WiseScripts that
perform specific functions, like subroutines. You can re-use include scripts and share
them with colleagues. They typically contain just a few lines of code, such as calling an
.EXE or displaying a particular dialog box. Include scripts can be any size with the
limitation that the calling script plus include scripts cannot be more than 32,000 lines.
Include scripts are displayed in tabs at the bottom of the script window.
To make an include script, create a new file and select Blank Script. Otherwise the
include script contains the default script, which is designed to perform an installation.
The combined script would then have two wizard loops, two of every dialog box, and so
on. Only the script is inserted into the calling script.
Any Compiler variables that are defined on the Compiler Variables page are ignored.
To complete the dialog box
Pathname
Specify the path of the script. It should be a .WSE file on your computer, not the
destination computer. Because the main script and include scripts are combined
during compile, not run time, do not use a run-time variable in Pathname. You can,
however, use a compiler variable.
Example of a line in the script that includes a script:
on page 39
WiseScript Actions
91

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents