I have a custom action that has to execute only during install but not during minor release upgrade and remove? I tried with different conditions but the CA is executing during minor release.
1) (NOT Installed) OR NOT(REMOVE="ALL" AND UPGRADINGPRODUCTCODE)
2) (NOT Installed)
3) (NOT Installed) OR NOT(Installed AND REMOVE="ALL" AND UPGRADINGPRODUCTCODE)
but nothing works for me. And my CA is executing twice may be because during upgrade the setup is uninstalling and installing. Any suggestions how to execute CA only during install but not during upgrades.