Set Property Command Option
Command Syntax
/SetProperty <property_name>=<value> [-buildname <buildname>] [-locid <locid>]
This command will determine:
- The creation of a new property named "name" and its value set to "value", if a property with this name doesn't exist.
- The change of the property's value to "value", if it already exists.
- The deletion of the property (provided it exists), if "value" equals the null string.
The -buildname optional parameter allows you to set a property for a specific build. If this parameter is not used, the property will be set for all builds.
The -locid optional parameter allows you to specify a custom localization identifier. If this parameter is set to "-" the value will not be translated.
Some formatting rules must be applied:
- If a property value contains spaces it must be enclosed in quotation
marks.
Example: -Property with spaces- will be written as -"Property with spaces"- - If a property value contains quote signs (") they must be doubled and the whole string
must be enclosed in quotation marks.
Example: -Property"with"quotes- will be written as -"Property""with""quotes"-
Example:
AdvancedInstaller.com /edit MyProject.aip /SetProperty PROPERTY="Value"