Sigurd Stenersen wrote:
> Is it at all possible to modify the number of features in the feature tree, 
> from a DLL or using some sort of action ?
>
> I'm able to set the state of features, but I would like to present users 
> with different trees depending on selections made in a previous dialog.
>
> Functionally, this is similar to using a condition to set the feature's 
> level, except I want to be able to do this according to user input.  And it 
> seems that by the time the user is allowed to enter anything the conditions 
> in the feature tree have already been evaluated.
>   
Feature conditions are evaluated during the CostFinalize action, which 
comes well before most UI. Off the top of my head, I can't think of an 
easy way to do what you want. The feature selection tree doesn't really 
offer customization beyond what's documented. Unless a feature's install 
level is 0 (or it's specifically hidden by its attributes), the 
selection tree shows it. You might want to consider custom 
feature-selection dialogs instead. From there, you can publish Remove 
and AddLocal control events to exactly control which features get installed.

-- 
sig://boB
http://bobs.org


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to