I'm trying to get feature state migration working on a major upgrade that I invoke by running the MSI.
I think I have the appropriate entries in my WiX project. <Upgrade Id="$(var.Brand_UpgradeCode)"> <UpgradeVersion Maximum="$(var.Brand_ProductVer)" MigrateFeatures="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" /> <UpgradeVersion Minimum="$(var.Brand_ProductVer)" MigrateFeatures="yes" IncludeMinimum="no" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> </Upgrade> <InstallExecuteSequence> <RemoveExistingProducts After="InstallValidate"/> </InstallExecuteSequence> The MSI that is generated seems to have the appropriate entries for; InstallUISequence 1000 CostFinalize 1200 MigrateFeatureStates InstallExecuteSequence 1000 CostFinalize 1200 MigrateFeatureStates Running a verbose log during upgrade shows that FindRelatedProducts is working. MSI (c) (C8:DC) [10:58:22:419]: UI Sequence table 'InstallUISequence' is present and populated. MSI (c) (C8:DC) [10:58:22:419]: Running UISequence MSI (c) (C8:DC) [10:58:22:419]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'. MSI (c) (C8:DC) [10:58:22:419]: Doing action: FindRelatedProducts Action 10:58:22: FindRelatedProducts. Searching for related applications Action start 10:58:22: FindRelatedProducts. FindRelatedProducts: Found application: {F3801F82-A075-4E73-834C-FCF26053392A} Action ended 10:58:22: FindRelatedProducts. Return value 1. MSI (c) (C8:DC) [10:58:22:434]: Doing action: PrepareDlg Action 10:58:22: PrepareDlg. Action start 10:58:22: PrepareDlg. But... the feature states only match the settings in the Feature table, not what the user selected in the previous install. Any tips for what I am missing? Thanks, Dale Dale Quigg ||| Senior Build / Configuration / Installation Engineer MessageGate ||| Enterprise Email Governance ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users