Run an .exe deployed w/ installer before installation starts
How do I run an .exe deployed w/ installer before an upgrade of my application starts? My .exe custom if the user can Upgrade my application. If they're not allow, I want to stop the upgrade from occurring.
I currently have a custom action that runs my .exe. Currently the installer has to uninstall the previous version, then Install the new version, then run the .exe to check if the client can upgrade. If the client can't upgrade, I rollback the installation.
However during rollback the previous version of my application is not restored.
How can I do this?
Re: Run an .exe deployed w/ installer before installation starts
I found the answer with help from these link:
You need to move the RemoveExistingProducts Action. See this link: https://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx [^]