Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Platformsdk MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 05-27-2010, 10:01 PM   #1 (permalink)
Kiran Hegde
Guest
 
Posts: n/a
Default Major upgrade not retaining feature install states

We have a version(Version A) of our product . This version has 4 features.
This installer is msi based installer.
Now we decided to release a major upgrade for Version A.Lets call this new
version Version B. We removed one of the features in Version B and Verson B
has just 3 features.
All the recommended rules for major upgrade were followed.
A major upgrade configuration was created.The MigrateFeature states has
been set.
I am facing a strange issue. Suppose you install only 2 out of 4 features in
the initial install of the product(Version A) and then carry out the major
upgrade by running Version B, the installer updates the initial installed
features. On top of this, it also installs the 2 features which were **not**
selected during the initial install.
I inspected the windows installer logs and found out that
MigrateFeatureStates is correctly migrating the features. However just after
this i observe that InstallValidate is marking all features for an install. I
also observed that the value of ADDLOCAL is set to a comma seperated list of
all the features in the Version B of the product. Ths is resulting in
unwanted installation of additional features during a major upgrade.

What could be wrong here?Please help.
Any ideas as to what could be wrong here? What do i do to debug this issue?
Do i need to inspect any tables to see if the feature state is changing?

  Reply With Quote
Old 05-29-2010, 02:01 PM   #2 (permalink)
Kiran Hegde
Guest
 
Posts: n/a
Default RE: Major upgrade not retaining feature install states

Any ideas?

"Kiran Hegde" wrote:

> We have a version(Version A) of our product . This version has 4 features.
> This installer is msi based installer.
> Now we decided to release a major upgrade for Version A.Lets call this new
> version Version B. We removed one of the features in Version B and Verson B
> has just 3 features.
> All the recommended rules for major upgrade were followed.
> A major upgrade configuration was created.The MigrateFeature states has
> been set.
> I am facing a strange issue. Suppose you install only 2 out of 4 features in
> the initial install of the product(Version A) and then carry out the major
> upgrade by running Version B, the installer updates the initial installed
> features. On top of this, it also installs the 2 features which were **not**
> selected during the initial install.
> I inspected the windows installer logs and found out that
> MigrateFeatureStates is correctly migrating the features. However just after
> this i observe that InstallValidate is marking all features for an install. I
> also observed that the value of ADDLOCAL is set to a comma seperated list of
> all the features in the Version B of the product. Ths is resulting in
> unwanted installation of additional features during a major upgrade.
>
> What could be wrong here?Please help.
> Any ideas as to what could be wrong here? What do i do to debug this issue?
> Do i need to inspect any tables to see if the feature state is changing?
>

  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:50 PM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com