Variable element
Describes a burn engine variable to define.
Attributes
Hidden
yesnoWhether the value of the variable should be hidden.
Name
string requiredThe name for the variable.
Overridable, from extension namespace http://wixtoolset.org/schemas/v4/wxs/bal
wxs:YesNoTypeUnionWhen set to “yes”, lets the user override the variable’s default value by specifying another value on the command line, in the form Variable=Value. Otherwise, WixStdBA won’t overwrite the default value and will log “Ignoring attempt to set non-overridable variable: ‘BAR’.”
Persisted
yesnoWhether the variable should be persisted.
Type
VariableTypeType of the variable, inferred from the value if not specified. This attribute’s value must be one of the following:
- string: A literal string.
- formatted: A string that may contain Variables.
- numeric
- version
Value
stringStarting value for the variable.