This is a general question that I have run into several times.  I understand
how to author an element like ComponentGroup as a child of a Fragment, and
then reference that fragment using ComponentGroupRef, as one example. 
However I came across several elements that do not have a corresponding
XxxxRef element, yet the chm says they can be a child of Fragment.  So when
authoring as a Fragment how does it get pulled into the product.

For a specific example, as I was reading up on using data-driven custom
actions I tried to create a CustomTable in a Fragment.  However I did not
find a way to get the custom table into my product without abandoning the
Fragment and putting the same code under Product.

In another situation I was studying the use of Lux and reading that it was
important to use fragments.  So I put the InstallExecuteSequence in a
Fragment, but I never found a way to get that code to compile into the
package.  Again I had to remove the Fragment and move the code as a child of
Product

In both cases Fragment and Product are possible parents of these elements in
the chm.  I guess I am just looking for advice on when these elements, which
do not have a corresponding XxxxRef element, would be used as a child of
Fragment?

Thanks
Phill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-reference-elements-in-a-Fragment-which-do-not-have-a-XxxxRef-construct-tp7590454.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to