Search code examples
wixcustom-action

List of condition variables for WiX custom actions?


I'm grappling with a few issues as a first time WiX user.

When it comes to CustomAction's, I've seen a few examples of people putting conditional statements in the element body - things like 'Installed', 'REINSTALL' and 'REMOVE', to determine whether or not they are executed.

Where are these variables defined, and does there exist a complete list of them?


Solution

  • A description about properties is given here and a list of variables defined by MSI itself is here. You are able to use other properties as well (WiX defines a lot of them - for example there is a list of .NET related properties).