WiseScript Package Editor Reference
162
WiseScript Actions
Exit Installation
This action exits the installation.
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 246.
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 248.
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 software archive (.VSA) file. The .VSA file is 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 144 and
Find SVS Layer GUID
on page 164.
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.