This website uses cookies. By clicking Accept, 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
- :
- Re: Run an .exe deployed w/ installer before installation starts
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- 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
- Tags:
- custom action
- upgrade
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 22, 2016
03:34 PM
I found the answer with help from these link:
http://stackoverflow.com/questions/8155097/msiexec-automatic-rollback-to-previous-version-on-installation-failure
You need to move the RemoveExistingProducts Action. See this link: https://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx [^]
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)