Skip to main content

Properties

Define custom MSI properties. Useful as inputs to custom actions, conditions, dialog text, or runtime-resolved registry / env-var values.

PropertyTypeRequiredDefaultDescription
namestringyesMSI property name. Convention: UPPER_CASE_WITH_UNDERSCORES.
valuestringconditionalProperty value. Optional only if saveOnRepair: true.
saveOnRepairbooleannofalseIf 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