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
- :
- Prevent Downgrade fails when starting setup from EXE
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
Feb 13, 2008
05:34 PM
Prevent Downgrade fails when starting setup from EXE
I have a basic MSI package in which I have created a Prevent Downgrade custom action and authored items into the Upgrade table correctly.
For testing in house we have QA just modify the MSI package for ProductVersion and the PackageCode. However, what we have found is that if QA starts the setup from the setup.exe that the check for downgrades is ignored and it proceeds to do an upgrade. If we launch the setup using the MSI package directly then the prevent downgrade custom action works perfectly.
Why does setup.exe cause this process to fail and how do I prevent it? Does the Setup.exe need to be recompiled - is our testing process faulty in this case by just modifying a copy of the MSI package in incrementing the ProductVersion and changing the ProductCode?
Thanks.
For testing in house we have QA just modify the MSI package for ProductVersion and the PackageCode. However, what we have found is that if QA starts the setup from the setup.exe that the check for downgrades is ignored and it proceeds to do an upgrade. If we launch the setup using the MSI package directly then the prevent downgrade custom action works perfectly.
Why does setup.exe cause this process to fail and how do I prevent it? Does the Setup.exe need to be recompiled - is our testing process faulty in this case by just modifying a copy of the MSI package in incrementing the ProductVersion and changing the ProductCode?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 13, 2008
05:56 PM
I just completed a separate build of my install and it appears that my testing scenario is defective. I need to create a complete build using the newer major version number. The setup.exe must include this internally when compiling.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)