Summary
Name/value pairs which will be set in the PROPERTY table of the
installer database.
The properties element contains within it one to any number of property elements.
Public property names cannot contain lowercase letters.
Private property names must contain some lowercase letters.
Property names prefixed with % represent system and user environment variables. These are
never entered into the Property
table. The permanent settings of environment variables can only be modified using the Environment Table.
More information is available here.
Parameters
Attribute |
Type |
Description |
Required |
name |
string |
A name used to refer to the property. |
True |
value |
string |
The value of the property. This value can contain references to other, predefined properties to build a compound property. |
True |
Examples
Define the required properties.
<properties>
<property name="ProductName" value="My Product" />
<property name="ProductVersion" value="1.0.0" />
<property name="Manufacturer" value="ACME Inc." />
<property name="ProductCode" value="{29D8F096-3371-4cba-87E1-A8C6511F7B4C}" />
<property name="UpgradeCode" value="{69E66919-0DE1-4280-B4C1-94049F76BA1A}" />
</properties>
Syntax
[BuildElement("properties", ProcessXml = false)]
public SchemaElement[] InstallerPropertiesElement { get; set; }
Attributes
Type |
Description |
BuildElement |
|
Value
Type |
Description |
SchemaElement[] |
|