WiseScript Package Editor Reference
85
WiseScript Actions
In WiseScript Package Editor, it calls the Exit script. The Exit script is accessible in the
Event drop-down list in Script Editor.
No message appears unless you also set the RESTART variable.
See
Automatic Run-time Variables
on page 158.
Note
When a WiseScript is called by a Windows Installer installation, this does not exit the
MSI installation. It only exits the WiseScript .EXE.
To complete the dialog box
z
Application Exit Code
If this script is called by another application, this is the return code to the calling
application. You can use a variable enclosed with %. For example, with a WiseScript
wrapper that executes an MSI, you could type %INSTALL_RESULT%. The value of
the Application Exit Code would then be the same as the exit code of the MSI. You
would then not have to create an Exit Installation action for each possible value that
Windows Installer could return.
If the WISE_ERROR_RTN variable is already set, the value in WISE_ERROR_RTN
does not override the Application Exit Code but is written to the installation log.
See
Run-time Variables
on page 160.
z
Install Status MIF
(WiseScript Package Editor only) This section is available only if you have entered
Status MIF information on the Microsoft SMS page.
MIF Text
This text is added to the Status MIF file when this action is executed.
Success/Failure
A status for the installation is added to the Status MIF file.
Export SVS Layer
This SVS script action exports a virtual software layer from the Symantec SVS applet as
a virtual runtime archive (.VRA) file. The .VRA file is a portable file that you can deploy
to other computers. The layer must be deactivated before it can be exported.
To complete the dialog box
z
Layer GUID
Enter the layer’s GUID (globally unique identifier) or a variable that represents the
layer’s GUID. If you enter the layer’s GUID, do not include the { } brackets.
For information on creating a variable for a layer’s GUID, see
Create SVS Layer
on
page 66 and
Find SVS Layer GUID
on page 85.
z
Archive path
Enter the path and file name to which the archive file is to be exported. This
directory must already exist. You can use WiseScript variables.
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.