Summary
This article documents the arguments that may be passed to an installer from the command line.
Synopsis
This article documents the arguments that may be passed to an installer from the command line.
Discussion
The installer launcher will use the following environment variables if they are set prior to launching the installer:
-
LAX_VMThis is used to set the location of the Java executable with which to launch the installer. -
LAX_DEBUGCan be set to either true, false, or file. When set to true, the debug output will be written to the console. When set to file, a file named jx.log will be created in the same directory as the launcher containing the debug output. -
IATEMPDIRThis is used to set the location the launcher will use as the directory to extract its files to. -
IA_PATH_[SOURCE_PATH]where [SOURCE_PATH] is the name of a Source Path used in your project. Used to override the the default location of the Source Path.
The following arguments may be passed to the installer on the command line:
-
-help or -? for help. In order to view the output on Windows, the launcher must be created as a Console Launcher, not a GUI Launcher.
-
-i [ swing | console | silent ] Used to set the UI mode used by the installer to either Swing, Console, or Silent.
-
-l Uses the specified language code (and optional country code) to set the locale for the InstallAnywhere Installer.
-
-r Generates a response file from the choices made in the installation.
-
-f Override the default location of the response file which the installer should use.
-
-
DVAR_NAME=VAR_VALUEWill set the IA VariableVAR_NAMEto the valueVAR_VALUEin the installer. Can be used multiple times for multiple variables. -
LAX_VM /path/to/javaUsed to force the launcher to use a particular JVM on the target machine. This command line argument should immediately follow the launcher name on the command line.
Additional Information
For more information on the different types of Windows launchers, please see the HelpNet article, Installer Modes.
For more information on how Source Paths work, please see the HelpNet articles Source Paths and Adding and Removing Source Paths.
Related Articles
Verbosely Log a Command Line Build 12Number of Views command line 4Number of Views InstallShield Setup.exe Command Line Parameters 29Number of Views How to Build from the Command Line 10Number of Views Passing a Suite Property to Command Line of Package 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago