Methods of Setting InstallAnywhere Variables
InstallAnywhere 2024 R2
InstallAnywhere variables can be set in several ways:
Method |
Description |
Provided by the Java Virtual Machine |
InstallAnywhere installers have access to all properties of the Java Virtual Machine. These are stored in the variable set $prop.PROPERTY_NAME$ where PROPERTY_NAME is the name of the Java property. |
Imported From the Environment |
InstallAnywhere’s LaunchAnywhere technology imports all environment variables on Windows-based and UNIX-based systems. These values are stored in the variable set $lax.nl.env.VARIABLE_NAME$ (For example, on UNIX-based systems, $lax.nl.env.PATH$ would take the value of the PATH environment variable). These variables are imported when the installer is launched and are read-only. To set environment variables, use the Set Environment Variable action. |
Set by Specific Actions |
The Set InstallAnywhere Variable - Single Variable and Set InstallAnywhere Variable - Multiple Variables actions set InstallAnywhere variables to specific values. |
Set via User Input |
Most panel and console actions set InstallAnywhere variables. |
Set by Installer/Uninstaller Progress |
As the installer and uninstaller progress, certain values are set or updated (such as $INSTALL_SUCCESS$). Important:Run-time variables are not supported for the uninstaller on OS or OS X–based systems. For more information, see About Uninstallers and Variables. |
Set via Custom Code |
InstallAnywhere variables can be set using custom code. |
See Also
Setting Variables in the Advanced Designer