Is it possible to know if an installer is installing/updating/removing in a Custom Action?
We've made a Custom Action dll in C# and it would be interesting if we could detect what the installer is doing. In the WiX xml documents, you could use 'Not Installed', 'REMOVE', etc (see this nice overview). But is it possible to access these variables in a Custom Action?
We tried passing the variable to the Custom Action, but that just gives us a variable with a string value like 'Not Installed', instead of true or false.