BuildProperties.xml File

InstallAnywhere 2017

You can use a build properties XML file, such as BuildProperties.xml, to pass build properties to the command-line builder in a single file.

To use this properties file, pas the -p argument with the path and name of the build properties file to build.exe:

build.exe Project_File_Path -p PathToBuildProperties.xml

For example:

build.exe C:\MySetups\MyProduct.iap_xml -p C:\Path\BuildPropeties.xml

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.

Important • The BuildProperties.xml file supports the specification of multiple build configurations. The build configurations that are specified in this file override the build configurations that are defined in the project.

InstallAnywhere includes a build properties file template named BuildProperties.xml:

IA_HOME/resource/build/BuildProperties.xml

This template file provides a sample of all possible build settings; you can use it as a template to meet your build requirements.

Ant Properties

InstallAnywhere supports the use of Ant properties in buildproperties.xml. An Ant property can be defined in the buildproperties.xml using:

<property name="ia.home" value="D:\\IA_Codebase\\main" />

Note • For more information, see InstallAnywhere Ant Task Reference.