This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Run an .exe deployed w/ installer before installat...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
officeGemini
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Aug 19, 2016
05:47 PM
Run an .exe deployed w/ installer before installation starts
Hello,
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?
Thanks
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?
Thanks
1 Reply
officeGemini
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Aug 22, 2016
03:34 PM
Re: Run an .exe deployed w/ installer before installation starts
I found the answer with help from these link:
http://stackoverflow.com/questions/8155097/msiexec-automatic-rollback-to-previous-version-on-install...
You need to move the RemoveExistingProducts Action. See this link: https://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx [^]