Components can also be included in more than one feature. Could you add
subfeatures under your codec features?

- Feature: “Core files” (required) 

--- Subfeature: “Codec A” (optional) 
------ Subfeature: “Windows Explorer integration” (optional) 

--- Subfeature: “Codec B” (optional) 
------ Subfeature: “Windows Explorer integration” (optional) 


Although you see two features, they would point to the same ComponentGroup.

Having the integration choice on a separate dialog is another option. You
could add a feature condition to it that looks at a WiX Property (instead of
the action state of other conditions or features) that would be set by a UI
control on that dialog (such as a checkbox). For example, a checkbox could
set a property called INSTALL_INTEGRATION. And the Condition inside the
Feature would look at that property. In that case, you might hide the
feature in the feature tree with the Feature/@Display attribute, set to
"hidden" so that users can't manipulate it in the tree.





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-Install-Component-only-if-multiple-Features-are-selected-tp7598712p7598713.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to