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
- :
- More information...
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 13, 2008
08:49 AM
After Major Upgrade, Multiple Entries in Add/Remove Programs
I performed a Major Upgrade to a previous version of our product. It apparently worked (old files removed, new files installed), but when I look in the Add/Remove Programs there are two entries for the product, the old and the new. How can I have just one entry in Add/Remove Programs, the one for the latest version?
This is the procedure I followed:
Old version 7.4.0.0, InstallScript MSI, created with InstallShield 2008.
New version 8.0.1.0, InstallScript MSI, created with InstallShield 2009.
1. Changed Product version from 7.4.0.0 to 8.0.1.0
2. Changed the Package Code
3. Changed the Product Code (as req'd for Major Upgrade)
4. Added an Automatic Upgrade, pointing to setup.exe for old version 7.4.0.0.
5. Compiled (Validation Succeeded; said it would perform a Major Upgrade)
Could I solve this by converting the Automatic Upgrade to a Major Upgrade? I don't want the customer to see multiple entries in the Add/Remove Programs dialog.
Thanks for any suggestions.
This is the procedure I followed:
Old version 7.4.0.0, InstallScript MSI, created with InstallShield 2008.
New version 8.0.1.0, InstallScript MSI, created with InstallShield 2009.
1. Changed Product version from 7.4.0.0 to 8.0.1.0
2. Changed the Package Code
3. Changed the Product Code (as req'd for Major Upgrade)
4. Added an Automatic Upgrade, pointing to setup.exe for old version 7.4.0.0.
5. Compiled (Validation Succeeded; said it would perform a Major Upgrade)
Could I solve this by converting the Automatic Upgrade to a Major Upgrade? I don't want the customer to see multiple entries in the Add/Remove Programs dialog.
Thanks for any suggestions.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2008
09:19 AM
Even after converting from an Automatic Upgrade to a Major Upgrade, the results are unchanged -- still works, but still have multiple entries in the Add/Remove Programs dialog!! Help!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2008
02:02 PM
I always preferred the 'major upgrade' to the 'automatic'.
The validation makes sure that the necessary changes to the package being built have been made to qualify as a major upgrade ... this does not necessarily mean that any given 'previous package' will be successfully removed.
The double entry is likely due to not correctly identifying the GUID of the installed package, the package needing to be uninstalled.
I would suggest these steps:
[LIST=1]
Locate the Upgrade Code from the MSI of the older package (in the Property table) and verify that this same code appears in the Common tab of your major upgrade item, in the Products having another Upgrade Code field.
To aid in trouble shooting, do not be too constrictive when defining the Product Version ... as a test, consider removing any version values and simply use the Any earlier version.
Looking at the properties of the release being used to build the package, browse to and select the MSI of the older version in the Previous Package property.
The validation makes sure that the necessary changes to the package being built have been made to qualify as a major upgrade ... this does not necessarily mean that any given 'previous package' will be successfully removed.
The double entry is likely due to not correctly identifying the GUID of the installed package, the package needing to be uninstalled.
I would suggest these steps:
[LIST=1]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 29, 2008
02:04 AM
Hello Shuttledude,
Please make sure that upgrade code of Old version 7.4.0.0 and New version 8.0.1.0 is same. That could be the reason it's not able to find the related product depending upon the upgrade code of the latest version.
If still does not work, please check out for msi log created by the setup in %windir%. You can look out for entry of ISSetAllUsers custom action. This action will se IS_MAJOR_UPGRADE property to "Yes".
Thanks
Sachin
Please make sure that upgrade code of Old version 7.4.0.0 and New version 8.0.1.0 is same. That could be the reason it's not able to find the related product depending upon the upgrade code of the latest version.
If still does not work, please check out for msi log created by the setup in %windir%. You can look out for entry of ISSetAllUsers custom action. This action will se IS_MAJOR_UPGRADE property to "Yes".
Thanks
Sachin