cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DLee65
Level 13

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.


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.
Labels (1)
0 Kudos
(1) Reply
DLee65
Level 13

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.
0 Kudos