Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference page 53

Table of Contents

Advertisement

WiseScript Editor Reference
To complete the dialog box
Component Variable(s)
If a WiseScript installs files based on whether a component in the .MSI is set to be
installed, specify the name of the variable that contains the list of components that
are set to be installed.
Status Variable
Select or enter the variable to store the result of the disk space check. If there is not
enough disk space, an error message is displayed, and the end user can halt
installation, ignore the error, or retry the disk space check. Status Variable is set
to R if the end user chooses to retry, which lets you define what retrying means.
(Example: Let the end user select a different directory or different components.) If
no status variable is selected, clicking Retry simply executes the test again.
Reserve Space
You can specify required disk space for up to three additional disks. (Example: Use
this option if your application requires temporary disk space to operate, or if you
plan to run a separate installer .EXE to install another application with its own space
requirements.) Select or enter a Disk Variable, which contains a directory name to
test. Enter the amount of space to check for in Extra Space.
See
Modify Component Size
Do not cancel during silent installation
Mark this to continue installing if the disk space check fails during a silent
installation. If you script includes an installation log, a message is written to
Install.log. Otherwise, if the disk space check fails, the installation is halted with no
message to the end user.
For information on how to create an installation log, see
page 99.
Using Check Disk Space Within a Windows Installer Installation
When a WiseScript is called by a Windows Installer installation, the Check Disk Space
action only checks disk space for files installed by this WiseScript. In other words, the
WiseScript .EXE and the Windows Installer installation are unaware of each other's disk
space requirements. To avoid erroneous disk space estimates by either the WiseScript
.EXE or the Windows Installer installation, place the Run WiseScript custom action
before CostInitialize or after InstallFinalize in the Windows Installer installation. That
way it does not interfere with Windows Installer disk space requirements. Place it in the
User Interface sequence, the Execute Immediate sequence, or both.
If the installation of files by the WiseScript does not depend on which .MSI components
are installed, you can insert the Check Disk Space action and leave the fields in the
Check Disk Space Settings dialog box blank. However, if the WiseScript installs files
based on whether a component in the .MSI is set to be installed, you must set a
component variable and specify it in the Check Disk Space Settings dialog box.
Example:
Your .MSI installation contains two features: Standard and Plus. If the end user chooses
to install Plus, which installs the component Plus.txt, you want the WiseScript to install
the license file PlusLicense.exe.
Here's how you create this portion of the WiseScript:
on page 98.
WiseScript Actions
Open/Close Install.log
on
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents