views:

384

answers:

2

When the RemoveExistingProducts action is executed, the MSI sets two properties

  • UPGRADINGPRODUCTCODE={...}
  • REMOVE=ALL

How to add a custom property for this action?

+1  A: 

RemoveExistingProducts is a built-in installer command, you cannot change it.

If you want to do something after this, you have to look for all places it is called (probably in InstallExecuteSequence) and call your Custom Action, set a property, or whatever after it.

Dour High Arch
A: 

Michael, did you find a solution to this? I also need to pass in an additional property to trigger something during the uninstall of the product being upgraded... Thanks,