I believe that you can define the CA's in a separate fragment, then just
schedule them in the main file and they will get included.

 

  <http://www.clearviewecm.com/> 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  then delete 
this email from your system.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Goryuk
Sent: Monday, May 19, 2008 9:49 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX 3 CustomActions in Fragments

 

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. 

<<image001.png>>

-------------------------------------------------------------------------
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