COMMAND-LINE ARGUMENTS FOR INSTALLANYWHERE INSTALLERS
-i
Sets the installer interface mode: silent/console/gui.
c:\myinstall.exe -i silent
sh ./install.bin -i console
-f
Sets the location of a response file (installer.properties file) for the installer to use. (See Silent Installers and Response Files.)
c:\myinstall.exe -f c:\tmp\installer.properties
NOTE:This path can be absolute or relative. (Relative paths are relative to the location of the installer.)
-r
Creates a response file. (See Generating Response Files.)
c:\myinstall.exe -r c:\temp\myinstaller.properties
In the example above, a response file named myinstaller.properties will be written to the c:\temp directory. If you do not enter a path and file name for the response file, the file will be named installer.properties or [installername].properties and it will be created in the same directory as the installer.
NOTE: Response files can be used to provide input for silent installers.
-D
Sets or modifies variables.
c:\myinstall.exe -Dmyvar=myvalue
-l
Uses the specified language code (and optional country code) to set the locale for the installer. (See Language Codes.)
c:\myinstall.exe -l en
sh ./install.bin -l pt_BR
The required language code is a two-character (commonly lowercase) code defined by the ISO-639 standard. InstallAnywhere accepts both old (iw, ji, and in) and new (he, yi, and id) language codes.
The optional country code is a two-character (commonly uppercase) code defined by the ISO-3166 standard.
NOTE: Locale options are only respected if the installer includes localizations for the locale you specify.
-jvmxms
Sets the JVM heap size initial value.
<installer_name> -jvmxms <size>
The default size for these values is measured in bytes. Append the letter k or K to the value to indicate kilobytes, m or M to indicate megabytes, and g or G to indicate gigabytes. For example, to set the initial JVM heap size to 25 megabytes, enter the following:
install.exe -jvmxms 25m
-jvmxmx
Sets the JVM heap size maximum value.
<installer_name> -jvmxmx <size>
The default size for these values is measured in bytes. Append the letter k or K to the value to indicate kilobytes, m or M to indicate megabytes, and g or G to indicate gigabytes. For example, to set the maximum JVM heap size to 50 megabytes, enter the following:
install.exe -jvmxms 50m
-?
-help
Shows help for the InstallAnywhere installer.
NOTE: On Windows, -help works only from the console launcher. Make sure to set the LaunchAnywhere to Console in the Windows area in the Platforms view on the Project page. (For an installed LaunchAnywhere to provide this information, you need to make sure it is explicitly set to Console Launcher on the action.)
Recent Comments