This page lists environment variables which are set internally by WarpIN when it is starting up, before any scripts are processed.

These variables are called "script variables" because WarpIN will set them to certain predefined values if they are not set before WarpIN is started. As a result, all these environment variables will always have a value and can safely be referenced from script elements which support macro resolution.

SET WARPIN_DEFAULTAPPSPATH=<path>
This determines the default target directory for applications.

Archive creators should use this variable in the TARGET attribute to the PCK element to allow the user to install all applications into the same directory tree without having to change the target path for every archive. If you consider your program an "application", use this environment variable.

Example (for a word processor package):

<PCK ... TARGET="$(WARPIN_DEFAULTAPPSPATH)\SuperWord" ... >

The user can set this environment variable before starting WarpIN and also from the "Default directories" dialog. If this is not specified by the user, WarpIN will set this to the "\APPS" directory on the user's boot drive before processing the script.

SET WARPIN_DEFAULTTOOLSPATH=<path>
Similar to WARPIN_DEFAULTAPPSPATH, this determines the default target directory for tool (utility) programs. If you consider your program a "utility", use this variable instead for the TARGET attribute to the PCK element.

The user can set this environment variable before starting WarpIN and also from the "Default directories" dialog. If this is not specified by the user, WarpIN will set this to the "\TOOLS" directory on the user's boot drive before processing the script.