Re: [WiX-users] Reorganising features and major upgrades

2007-07-30 Thread Bob Arnson

John Hall wrote:
Yes, all the features are unselected in the feature selection dialog. 
I was launching the MSI with 'REINSTALL=ALL REINSTALLMODE=vomus'.  
However, on reading the tutorial a bit more closely, those arguments 
are for minor upgrades - I removed them and it now has all the 
features appropriately selected.


Yeah, you can't use REINSTALL during an initial installation -- 
nothing's installed, so there's nothing to reinstall.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reorganising features and major upgrades

2007-07-28 Thread Bob Arnson

John Hall wrote:
Thanks for your reply. RemoveExistingProducts is scheduled after 
InstallInitialize and so has not been run when we get to the customize 
screen. It isn't actually migrating any feature states from the old 
version either:


It wasn't clear you were talking about UI. Are you saying that all the 
features are unselected when you get to the feature-selection dialog?



MSI (c) (60:F0) [06:04:52:091]: Skipping MigrateFeatureStates
action: feature settings already made



This line and the doc seem to go together:

The action only migrates the feature states if the *Preselected* 
preselected.htm property is not set.


How are you launching the MSI? Are you setting ADDLOCAL or any other 
ADD* property?


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reorganising features and major upgrades

2007-07-27 Thread John Hall
 

John Hall wrote: 

I'm in the process of migrating my installer from
InstallShield to WiX 3. As part of this I have reorganised and
rationalised the features in the product.
 
When I come to do a major upgrade from the old
installation to my new one, all of the features in my product in the
customize dialog are unselected. If I install cleanly, they are all
selected.


As always: Start with the verbose log. MSI will pass an ADDLOCAL
property to the server when it comes to actually installing the product.
I'm assuming you have RemoveExistingProducts scheduled early, so you can
also check out InstallValidate action logging, to see the features and
components that are getting removed (old version) and selected for
install (new version).


Bob,
 
Thanks for your reply. RemoveExistingProducts is scheduled after
InstallInitialize and so has not been run when we get to the customize
screen. It isn't actually migrating any feature states from the old
version either:

MSI (c) (60:F0) [06:04:52:081]: Doing action:
MigrateFeatureStates
MSI (c) (60:F0) [06:04:52:081]: Note: 1: 2205 2:  3: ActionText 
Action 6:04:52: MigrateFeatureStates. Migrating feature states
from related applications
Action start 6:04:52: MigrateFeatureStates.
MSI (c) (60:F0) [06:04:52:091]: Skipping MigrateFeatureStates
action: feature settings already made
Action ended 6:04:52: MigrateFeatureStates. Return value 0.

So it is not clear to me from the log why it is unselecting all the
features. There is no other mention of features in the log. What sets up
the initial feature action states?
 
Regards,
John
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Reorganising features and major upgrades

2007-07-26 Thread John Hall
I'm in the process of migrating my installer from InstallShield to WiX
3. As part of this I have reorganised and rationalised the features in
the product.
 
When I come to do a major upgrade from the old installation to my new
one, all of the features in my product in the customize dialog are
unselected. If I install cleanly, they are all selected.
 
I've made sure that MigrateFeatures is set to 'no' in the Upgrade
element, and have even tried disabling the MigrateFeatures action when
upgrading from the previous installer version. A typical feature in the
product looks like this:
 
Feature Id=ChainDebugger
 Title=Chain Debugger
 Description=XJTAG Chain Debugger Tool
 Level=1
 Display=50 
 AllowAdvertise=no
...
/Feature
 
Is there something obvious I might be doing wrong?
 
Regards,
John
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reorganising features and major upgrades

2007-07-26 Thread Bob Arnson

John Hall wrote:
I'm in the process of migrating my installer from InstallShield to WiX 
3. As part of this I have reorganised and rationalised the features in 
the product.
 
When I come to do a major upgrade from the old installation to my new 
one, all of the features in my product in the customize dialog are 
unselected. If I install cleanly, they are all selected.


As always: Start with the verbose log. MSI will pass an ADDLOCAL 
property to the server when it comes to actually installing the product. 
I'm assuming you have RemoveExistingProducts scheduled early, so you can 
also check out InstallValidate action logging, to see the features and 
components that are getting removed (old version) and selected for 
install (new version).


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users