I have the following scenario: I have two features say F1 and F2 and have a component C1. F1 is a mandatory component and F2 is inside F1 and is an optional component. This component C1 will start a service once executed.
I have to start a service with some arguments if Feature F1 is selected, and start the same service with some other arguments if Feature F2 is selected. My questions are: 1) Is it possible to define a component with conditions to execute a service with required arguments based on Feature selection? and if its possible inside which of two features do I need to call component C1? 2) Even if I declare two components C1 and C2 and call them inside Features F1 and F2, How to make sure that only component C2 is executed if Feature F2 (C1 should not be executed in this case) is selected and vice-versa? I have read that "We can come to know whether a Feature is selected or not only after CostFinalize but all conditions inside components are executed before CostFinalize ".. --Thanks ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users