WiseScript Package Editor Reference
250
Quick Reference
See also:
Automatic Compiler Variables
on page 245
Automatic Run-time Variables
on page 246
SVS Variables
You can use the following SVS variables in some of the SVS script actions.
See
About SVS Script Actions
on page 117.
System Variables
System variables are static properties of a layer.
PROCEXITCODE
Lets you add error codes to the built-in error codes that
are returned from an installation. Check for an error
condition and, if the error condition is true, put your own
error text into PROCEXITCODE. At the end of the
installation, if PROCEXITCODE is not blank, the return
code from the installation is set to the contents of
PROCEXITCODE. This lets you write conditional code
based on the results of an external program.
Be sure to mark the Wait for Program to Exit check box
on the Execute Program Settings dialog box for the
Execute Program action.
(WiseScript Package Editor only) Also, select True Win32
from the Destination Platforms drop-down list on the
Build Settings page. (This variable is the same as
WISE_ERROR_RTN.)
PROGRAM_FILES
Windows Program Files directory.
STARTMENUDIR
Directory of the Start menu for adding shortcuts.
STARTUPDIR
Directory of the StartUp group for adding shortcuts.
VER_CHECK_TYPE
Set this to 1 to cause the installation to use the WiseScript
simple version checking method instead of the standard
Microsoft version checking method. This can fix problems
when files are not being replaced as you expect. Set this
variable before the Install File(s) script line that exhibits
the problem.
See
File Replacement Problems in System32
on page 244.
WISE_ERROR_RTN
Lets you write errors to the installation log. Check for an
error condition and, if the error condition is true, put your
own error text into WISE_ERROR_RTN. At the end of the
installation, if WISE_ERROR_RTN is not blank, the
contents of WISE_ERROR_RTN are written to the
installation log.
Variable
Description
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...