WiseScript Package Editor Reference
131
WiseScript Actions
Display Message Only
Abort Installation
Start Block
Begins a conditional block. All actions between this action and the next Else or
End action are executed.
z
Title
Enter the title for the dialog box.
z
Message Text
Appears in the body of the message dialog box. Leave this blank to prevent a
message from appearing.
Note
Checking for “Share Loaded” opens a temporary file and tries to lock a section of it.
It detects all versions of DOS SHARE, Windows VSHARE, Windows NT/2000/XP/
2003/Vista/2008/7, and Windows 95/98. Checking for “VGA or better” graphics
ensures that display resolution is at least 640x480. Checking for free memory tests
the amount of memory (including virtual memory) available at installation time.
The sample script CheckVGA.wse uses this action. For details on sample scripts, see
ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
Check Disk Space
This action determines if enough disk space is available for the installation, based on
files that are always installed. In WiseScript Package Editor, this can also include
optional components the end user selects to install. You would use this action only if the
WiseScript contains Install File(s) actions that install files permanently on the
destination computer. If you add components on the Components page, the Files page
shows an Always Installed folder and other component folders.
Note
When a WiseScript is used in a Windows Installer installation, an alternative to using the
Check Disk Space action is to determine how much disk space the WiseScript .EXE
requires, and putting that figure in the ReserveCost table in the Windows Installer
database. This works best when all files are always installed. See ReserveCost Table in
the Windows Installer SDK Help.
If the installation contains no optional components, you can leave all fields blank and the
action checks disk space for all files. This action takes the cluster size of the disk into
account.
To complete the dialog box
z
Component Variable(s)
If the installation includes components, specify the variable that contains the list of
components the end user selects (named COMPONENTS in the default script). This
variable is set by the Select Components action or the Select Components custom
dialog box.
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.
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...