John Hancock wrote:

<Fragment>

<Feature Id="A" Title = "FeatureA" Level="1">

</Feature>

</Fragment>

<Fragment>

... define components B and C

</Fragment>

Then, in a separate fragment, I have:

<FeatureRef Id="A">

                <ComponentRef Id="B"/>
                <ComponentRef Id="C"/>

</FeatureRef>


Referencing a parent feature doesn't cause that fragment to be linked in. WiX links starting from the entry section (e.g., Product) looking for symbols being referenced. It doesn't include a fragment unless something references that fragment. "Back links" -- e.g., FeatureRef in a fragment to a Feature in a Product -- don't cause that fragment to link in. It works if you *Ref something in that fragment from the product (i.e., a "forward link").

--
sig://boB
http://joyofsetup.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to