Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using a File

Using a File


Information on how to use a file for building installers


You can use a file to build installers for a project. To do this, pass the ?p argument with the path and name of the file to build.exe:
build.exe C:\MySetups\MyProduct.iap_xml -p C:\Path\
If you do not provide an absolute path to your build properties file, the builder looks for it in the same directory as your project. The settings that are specified in the .properties file override the build settings in the project.


Many of the settings that you can configure in the Advanced Designer can also be set in a file. The following tables correlate the options in the Advanced Designer with settings in the file.
OptionFile Setting
General Settings > Send stderr tocom.zerog.ia.installer.options.stderr.redirect=path_to_file
General Settings > Send stdout tocom.zerog.ia.installer.options.stdout.redirect=path_to_file
Platforms > Default UNIX Installer UI Mode > Installer UI Modedefault.ui.mode.unix=GUI/Silent/Console
Platforms > Default Windows UI Mode > Installer UI
Platforms > Default Windows UI Mode > Installer UI Mode (Pure 64-bit)default.ui.mode.windows64=GUI/Silent/Console
JVM Settings > Valid VM listcom.zerog.ia.installer.options.valid.vm.list=1.5+, 1.8*
JVM Settings > Minimum Heap Sizecom.zerog.ia.installer.options.heap.size.initial=16777216
JVM Settings > Maximum Heap Sizecom.zerog.ia.installer.options.heap.size.max=50331648
Look & Feel Settings > Auto populate labels when
Components > Auto-clean when
Build Installers > Select Build Configurationnumber.of.configs=2 Name 1 Name 2
In the file, the build target, distribution, and locale settings include a number to identify its associated build configuration, such as:
Build Installers > Build Output
[Working Directory]
Note: The working directory, which is used to store all temporary files (such as the build log and the locales directory) is set by default to the InstallAnywhere project directory. It is not specifically set in the Advanced Designer user interface.
Build Targets > OS
Build Targets >
Build Targets >
Build Targets >
Build Targets >
Build Targets >
Build Targets >
Build Targets > Unix (All)
Build Targets >
Build Targets > Other Java-Enabled
[Not available in the Advanced Designer]
Distribution > Build Web
Distribution > Optimize [Web] Installer Size by Platform and
Distribution > Web page displays
Distribution > Build CD-ROM
Distribution > Optimize [CD-ROM] Installer Size by Platform and
Distribution > Build Merge Module
Distribution > Optimize Merge Module/Template Size by Platform and
Distribution > Read
Locales > Locale,ja,de,ar,fr

Additional Information

InstallAnywhere includes a sample file in the following location:
This template file provides a sample of all possible build settings; you can use it as a template to meet your build requirements.

Setting the Product Version at Build Time
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 12, 2018 06:07 PM
Updated by: