I am new to Advanced Installer and am currently not having any success with the upgrade feature. I have automatically upgrade older product versions selected and uninstall old version first and then install new version. I also have a custom action set to execute on install. During the upgrade process I would like to prevent this custom action from executing if an older version has been upgraded. I only want it to execute if this is a clean install. The properties of the custom action are: synchronous execution, check return code; deferred with no impersonation; always execute. The current execution condition is NOT installed, but I have also tried NOT installed AND NOT UPGRADINGPRODUCTCODE. I assume my execution condition is not correct and would appreciate any guidance on how to achieve this result.
Thanks!