Hi Mike,
inside UpgradeOptionsDlg control, when pressing Next, an event that sets
the INSTALLLEVEL to 1 is triggered. Unless you are a lead developer, I would
like to contact your superior and let him know what a good decision he made in
hiring you.
Best regards,
Calin
----- Original Message -----
From: Mike Dimmick
To: 'Calin Iaru' ; wix-users@lists.sourceforge.net
Sent: Thursday, January 17, 2008 11:13 PM
Subject: RE: [WiX-users] upgrade does not work
I'm trying to trace what's happened there. In the basic UI case,
MigrateFeatureStates is clearly doing the right thing. Basic UI skips the
InstallUISequence entirely, so some action in InstallUISequence that's not in
InstallExecuteSequence is changing ADDLOCAL. It's clearly happening in the UI
sequence as the command line to the second stage (line 359) shows all the
features in the ADDLOCAL property.
It's hard to see what action because the installer hasn't actually logged the
change to the property. Are you sure your UpgradeOptionsDlg isn't doing this as
a consequence of some other change - perhaps, to INSTALLLEVEL? Does this dialog
have a SelectionTree control?
It looks like the costing was still going on in the background when this
dialog was created. Perhaps the changes made by MigrateFeatureStates weren't
fully complete before the dialog was shown and it was initialised with
incorrect values, which then overwrote the correct migrated ones? See the SDK
for 'Authoring a Conditional "Please Wait." Message Box' for how to ensure that
costing is complete before proceeding with the UI.
--
Mike Dimmick
------------------------------------------------------------------------------
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Calin Iaru
Sent: 17 January 2008 18:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] upgrade does not work
Let's say that I have 3.3.0.msi installed in quiet mode and then 3.3.1
upgrades it on quiet mode. Only some of the features are installed in 3.3.0 and
I expect only some of the features to be installed in 3.3.1. And it's true,
this happens if both are installed in quiet mode. Note that 3.3.0 is installed
with
msiexec /i 3.3.0.msi /qb ADDLOCAL=Development
and 3.3.1 is installed with
msiexec /i 3.3.0.msi /qb
If I do a gui install on 3.3.1, then all features are installed. ADDLOCAL is
set to Development,Drivers,Demos and so on. I would like to fix this issue once
and for all.
You can find attached the log file obtained with /l*xv.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users