WiseScript Editor Reference
158
Quick Reference
INST_LOG_PATH
Full path in which to place Install.log at end of installation.
INSTALL_RESULT
(read-only)
Holds the result of the last action performed for Install
File(s), Copy Local File(s), Edit INI, and Execute Program
actions. (This variable is similar to PROCEXITCODE.)
Install File(s) and Copy Local File(s) return:
z
V = Version. Replacement option was set to check
version, and the version being installed was not
newer.
z
D = Date. Replacement option was set to check Date/
Time and the condition was not met.
z
E = Exists. Replacement option was Never, and the file
exists.
z
I = Install on restart. The file was in use and will be
installed on restart. (RESTART variable also set to “S”)
z
A null value signals success.
If the file specification is a wildcard, the value represents
the last file copied or installed.
Edit INI File returns: E if the file could not be written, or
null if the edit was successful.
Execute Program returns: the numeric exit code (return
code) from the called application.
LANG
The language the end user selects in a multi-language
installation. We recommend that you do not change this
variable.
PASSWORD
Set this to the password to be used for password-
protected files. Setting this variable disables the password
prompt. Set this for distributions that do not use
prompting.
PROCEXITCODE (read-
only)
Holds the result of the last Execute Program action. (This
variable is similar to INSTALL_RESULT.) After an Execute
Program script action, this returns the exit code (return
code) from the called application.
RESTART
At the end of the script, set this variable to:
S -
z
If the current end user does not have administrator
privileges, logs the user off.
z
If the current end user has administrator privileges,
performs a full system restart at completion of the
script.
W -
z
Logs the user off.
When left blank, it turns off the RESTART function.
Variable
Description