EasyManua.ls Logo

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

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 91
WiseScript Actions
See also:
Else Statement on page 75
ElseIf Statement on page 75
End Statement on page 76
Import SVS Layer
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 40
About SVS Script Actions on page 39
Include Script
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
z 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:

Table of Contents

Related product manuals