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
- :
- Basic MSI - Major upgrade does not upgrade
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
Mar 19, 2008
10:25 PM
Basic MSI - Major upgrade does not upgrade
I have product A which has ProductCode A, Product Version 1.0 and Upgrade GUID A.
I have product B which has ProductCode B, Product Version 1.1 and upgrade GUID A.
When I run setup the setup runs in full UI mode rather than performing an upgrade. Below is an excerpt from the log file.
As you can see the setup detects that this is a major upgrade but the UI portion still comes up as if this were a new install. What else should I be looking for to make sure my major upgrade works properly?
What I would like it to do once it detects that this a major upgrade is to:
1. Alert the user that this is an upgrade to the previous version.
2. Uninstall the previous version.
3. Install the latest version using the same settings as the previous version.
Isn't this what the Upgrade process is supposed to be doing?
Thanks.
I have product B which has ProductCode B, Product Version 1.1 and upgrade GUID A.
When I run setup the setup runs in full UI mode rather than performing an upgrade. Below is an excerpt from the log file.
InstallShield 23:00:26: Getting records from Upgrade table
InstallShield 23:00:26: UpgradeCode: {BB53E0F0-5868-4FA9-8CEC-6227DF6CB971} MinVersion: MaxVersion: 9.02.0000 Language: Attributes: 257
InstallShield 23:00:26: Checking related product {AEB95804-A937-49E6-940A-37A606C16D5D}
InstallShield 23:00:26: DeLorme Street Atlas USA 2009 Plus {AEB95804-A937-49E6-940A-37A606C16D5D} 1033 9.00.0000 ***Related***
MSI (c) (CC!28) [23:00:26:688]: PROPERTY CHANGE: Adding IS_MAJOR_UPGRADE property. Its value is 'Yes'.
As you can see the setup detects that this is a major upgrade but the UI portion still comes up as if this were a new install. What else should I be looking for to make sure my major upgrade works properly?
What I would like it to do once it detects that this a major upgrade is to:
1. Alert the user that this is an upgrade to the previous version.
2. Uninstall the previous version.
3. Install the latest version using the same settings as the previous version.
Isn't this what the Upgrade process is supposed to be doing?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 19, 2008
10:58 PM
Well, I stand corrected. It appears that my understanding of what a major upgrade does is not right. I was expecting a reduced UI experience similar to that of a minor upgrade. However, the default implementation seems to let the full UI exectue and then during the Execute sequence the RemoveExistingProducts action uninstalls the previous version before the MSI engine installs the new version.
It appears that the Upgrade performs silently by default. I guess if I want a reduced user experience I would have to modify the UI sequence and key off of the condition IS_MAJOR_UPGRADE property.
It appears that the Upgrade performs silently by default. I guess if I want a reduced user experience I would have to modify the UI sequence and key off of the condition IS_MAJOR_UPGRADE property.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)