Hi,

How does one go about placing CustomActions in a fragment (separate file)
and then include them at build time?

I¹ve tried creating the following 2 files with a reference to the Fragment
file
1) installer.wxs 
 * <WiX><Product>..........<FragmentRef Id="CAs"
/>.................</Product></Wix>

2) custom_actions.wxs
 * <Fragment Id="CAs">....<CustomAction....>....</Fragment>

Candle gives the following error:
...build\installer.wxs(32) : error CNDL0005 : The Product element contains
an unexpected child element 'FragmentRef'.

This works fine for a UIRef to a Fragment file, which makes this issue a bit
difficult to understand. Using WiX 3.0.2925.0

Thanks,
Alex G.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to