That looks like the problem.  Looks like I can simply specify 
UpgradeVersion/@MigrateFeatures="yes" and wix will do the rest.

Thanks for pointing me in the right direction!

Matt Johnson MCPD, MCTS, MCSD, MCDBA
Director of Application Development
Time America, Inc.
[email protected] | www.timeamerica.com


-----Original Message-----
From: Michael Osmond [mailto:[email protected]] 
Sent: Thursday, May 06, 2010 3:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to retain feature selection during major upgrade?

Matt

Do you have the action MigrateFeatureStates in your Install and UI execution 
sequences.  

Michael

-----Original Message-----
From: Matt Johnson [mailto:[email protected]] 
Sent: Friday, 7 May 2010 6:54 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to retain feature selection during major upgrade?

I've followed the article in the Wix docs titled "How To: Implement a Major 
Upgrade In Your Installer".

Everything works fine, except when I perform the major upgrade, it uses the 
default feature selection rather than selecting the features that were 
installed with the prior version.

So I have two features, A and B that are normally installed by default.  The 
user installs version 1 and selects only feature A.  Then some time later the 
user goes to install version 2.  I want only feature A upgraded.  The current 
functionality is to have both features enabled, which upgrades feature A and 
installs feature B.

How can I check the previous feature selection so the feature tree is loaded 
properly with the prior selections?  I use the standard CustomizeDlg from WixUI.


Thanks,

Matt Johnson MCPD, MCTS, MCSD, MCDBA
Director of Application Development
Time America, Inc.
[email protected] | www.timeamerica.com


------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to