The Windows Installer documentation states that feature conditions are
evaluated by the CostFinalize action. This action should be scheduled in
both the InstallUISequence (for Full or Reduced UI) and the
InstallExecuteSequence (for Basic or No UI). WiX automatically sequences
CostFinalize appropriately, but you should check that you haven't suppressed
it or got it out of sequence with respect to CostInitialize and FileCost.
The order should be CostInitialize, then FileCost, then CostFinalize.

 

That's my best guess based on the documentation.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee
(Volt)
Sent: 05 July 2007 18:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Feature Conditionals and Silent (passive) install

 

I've created an MSI that, through a UI, will determine from a public
property that is selected through a radio button, which feature to install. 

 

It uses the feature conditional that changes the level of the feature.

 

If I set the same property from a command-line, it doesn't evaluate and both
features are installed. I have to specify the ADDLOCAL property in the
command-line passive install of the msi.

 

What am I doing wrong, or is this not possible without the UI?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to