InstallAnywhere 2013
InstallAnywhere-generated installers and uninstallers can be run with command-line arguments that can dictate, alter, or override the function of the installer.
To set the interface mode from the command line:
At the command line, enter <installer_name> -i <mode>
For example, to use console mode with an installer that includes support for console mode:
install.exe -i console
To set the installer locale from the command line:
At the command line, enter <installer_name> -l <language_code>[_OPTIONAL_COUNTRY_CODE]
For example, to run the installer with the Simplified Chinese locale:
install.exe -l zh_CN
To generate a response file from the command line:
At the command line, enter <installer_name> -r "path_and_file_name"
For example, to create a response file, you could enter the following at the command line:
install.exe -r "/Users/James/myresponse.properties"
Note: 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.
Tip: Be aware that non-standard properties file names require a more complicated call to be used later. This is because any properties file or response file that uses either the default name (installer.properties) or the installer name ([installer_name].properties) can be automatically used by an installer when the installer and the properties file are in the same directory. When you use a non-standard name, you must reference the properties file (using a -f argument), specifically, when you run the installer.
To use a response file or installer.properties file from the command line:
At the command line, enter <installer_name> -f "path_and_file_name"
For example, to use property settings from a file named installer.properties stored in the All Users\Desktop directory, enter the following:
install.exe -f "C:\Documents and Settings\All Users\Desktop\installer.properties"
To pass custom variables from the command line:
At the command line, enter <installer_name> -D<myvar=myvalue>
For example, to pass a new value for install directory ($USER_INSTALL_DIR$):
install.exe -D$USER_INSTALL_DIR$="/Users/jane/Applications Folder"
To show installer help from the command line:
At the command line, enter <installer_name> -?
See Also
InstallAnywhere 2013 Help LibraryOctober 2013 |
Copyright Information | Contact Us |