How to conditionally exclude features from "FeaturesDlg" in WiX 3.0 from a managed Custom Action (DT

Posted by Gerald on Stack Overflow See other posts from Stack Overflow or by Gerald
Published on 2010-04-30T04:52:54Z Indexed on 2010/04/30 4:57 UTC
Read the original article Hit count: 948

Filed under:
|
|

I am trying to put together an installer using WiX 3.0 and I'm unsure about one thing. I would like to use the FeaturesDlg dialog to allow the users to select features to install, but I need to be able to conditionally exclude some features from the list based on some input previously received, preferably from a managed Custom Action.

I see that if I set the "Display" attribute of a Feature to "hidden" in the .wxs file that it does what I want, but I can't figure out a way to change that attribute at runtime.

Any pointers would be great.

© Stack Overflow or respective owner

Related posts about wix

Related posts about dtf