I have two custom actions, one of which I\'d like to execute when my product is installed and the other when it is uninstalled.
My custom action is currently called from
Try next 1. Only for Installation:
1.
NOT Installed AND NOT REMOVE
2. For Uninstall try to use: Rob's answer
2.
UPGRADINGPRODUCTCODE property is set only during RemoveExistingProducts CA.
RemoveExistingProducts