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
- :
- Major Upgrade Not Uninstalling Previous Version
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
‎Jul 19, 2012
11:36 AM
Major Upgrade Not Uninstalling Previous Version
Hello, I have the following setup:
Basic MSI Package
InstallShield 2012 Version 18 Service Pack 1
To Create the Major Upgrade I did the following
1. Updated Product Version from: 5.15.0000 to 5.15.0001
2. Generated new Product Code
3. Generated new Package Code
Observed the following
In Custom Actions and Sequences --> Installation --> Execute
FindRelatedProducts: Condition is set to: NOT ISSETUPDRIVEN
RemoveExistingProducts has no Condition set [Empty]
After running the MSI the log shows the following:
See attachment to view entire log
Action 10:48:48: SetupInitialization. Dialog created
Action ended 10:48:48: SetupInitialization. Return value 1.
MSI (c) (2C:08) [10:48:48:920]: Doing action: FindRelatedProducts
Action 10:48:48: FindRelatedProducts. Searching for related applications
Action start 10:48:48: FindRelatedProducts.
Action ended 10:48:48: FindRelatedProducts. Return value 1.
MSI (c) (2C:08) [10:48:48:921]: Skipping action: ISPreventDowngrade (condition is false)
MSI (c) (2C:08) [10:48:48:921]: Skipping action: CCPSearch (condition is false)
MSI (c) (2C:08) [10:48:48:921]: Skipping action: RMCCPSearch (condition is false)
Further steps I find:
Action ended 10:49:14: InstallValidate. Return value 1.
MSI (s) (C8:A0) [10:49:14:865]: Doing action: RemoveExistingProducts
Action 10:49:14: RemoveExistingProducts. Removing applications
Action start 10:49:14: RemoveExistingProducts.
Action ended 10:49:14: RemoveExistingProducts. Return value 1.
MSI (s) (C8:A0) [10:49:14:867]: Doing action: InstallInitialize
Also I Noticed in the Direct Editor --> Upgrade table - The UpgradeCode is all zeros
Basic MSI Package
InstallShield 2012 Version 18 Service Pack 1
To Create the Major Upgrade I did the following
1. Updated Product Version from: 5.15.0000 to 5.15.0001
2. Generated new Product Code
3. Generated new Package Code
Observed the following
In Custom Actions and Sequences --> Installation --> Execute
FindRelatedProducts: Condition is set to: NOT ISSETUPDRIVEN
RemoveExistingProducts has no Condition set [Empty]
After running the MSI the log shows the following:
See attachment to view entire log
Action 10:48:48: SetupInitialization. Dialog created
Action ended 10:48:48: SetupInitialization. Return value 1.
MSI (c) (2C:08) [10:48:48:920]: Doing action: FindRelatedProducts
Action 10:48:48: FindRelatedProducts. Searching for related applications
Action start 10:48:48: FindRelatedProducts.
Action ended 10:48:48: FindRelatedProducts. Return value 1.
MSI (c) (2C:08) [10:48:48:921]: Skipping action: ISPreventDowngrade (condition is false)
MSI (c) (2C:08) [10:48:48:921]: Skipping action: CCPSearch (condition is false)
MSI (c) (2C:08) [10:48:48:921]: Skipping action: RMCCPSearch (condition is false)
Further steps I find:
Action ended 10:49:14: InstallValidate. Return value 1.
MSI (s) (C8:A0) [10:49:14:865]: Doing action: RemoveExistingProducts
Action 10:49:14: RemoveExistingProducts. Removing applications
Action start 10:49:14: RemoveExistingProducts.
Action ended 10:49:14: RemoveExistingProducts. Return value 1.
MSI (s) (C8:A0) [10:49:14:867]: Doing action: InstallInitialize
Also I Noticed in the Direct Editor --> Upgrade table - The UpgradeCode is all zeros
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2012
08:31 AM
For a major upgrade to work, you have to add another row in the Upgrade table. Typically you would do this by adding a Major Upgrade Item in the Upgrades view, under Upgrade Windows Installer Setup. The ISPreventDowngrade item not sufficient for this; it is a special entry that searches for the reverse case (existing installations that are of a higher version) in order to prevent installation of the current lower version.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2012
09:39 AM
Thank You Michael!
I did as you suggested and it fixed the problem (see below)
Go to:
Media --> Upgrades --> Prepare Stup For Upgrade Scenarios --> Upgrade Windows Installer Setup
Result: Created a new row in Direct Editor --> Upgrade table
🙂 Major Upgrade now uninstalls previous version.
I did as you suggested and it fixed the problem (see below)
Go to:
Media --> Upgrades --> Prepare Stup For Upgrade Scenarios --> Upgrade Windows Installer Setup
Right-Click: Add Major Upgrade Item
Common Tab --> Select Products having another Upgrade Code: (use the same upgrade code for existing product)
Result: Created a new row in Direct Editor --> Upgrade table
🙂 Major Upgrade now uninstalls previous version.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)