Properties
Define custom MSI properties. Useful as inputs to custom actions, conditions, dialog text, or runtime-resolved registry / env-var values.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | – | MSI property name. Convention: UPPER_CASE_WITH_UNDERSCORES. |
value | string | conditional | – | Property value. Optional only if saveOnRepair: true. |
saveOnRepair | boolean | no | false | If true, the property's runtime value is saved and re-applied during repair. |
Example
"msi": {
"properties": [
{ "name": "TELEMETRY_ENABLED", "value": "1" },
{ "name": "API_ENDPOINT", "value": "https://api.MyCompany.example.com" },
{ "name": "INSTALL_TOKEN", "value": "12345", "saveOnRepair": true }
]
}
You can override values at install time on the msiexec command line:
msiexec /i My Application.msi TELEMETRY_ENABLED=0 API_ENDPOINT=https://staging.api.MyCompany.example.com