I'm developing multiple merge modules that share some data files in common. I want to have the data files defined in a Fragment that each merge module uses. For some reason, the files in my fragment doesn't install, even though it builds with no error. If I add the fragment to the main installer, it works like a charm. Is there something I have to do differently to get fragments to work with merge modules? Here's the code snippet of my Fragment (there are really more files, but this is an example): <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="xml" > <Component Id='EOD.xmlxml' Guid='MY GUID HERE'> <File Id='EOD.xmlxml' Name='EOD.xml' Source='..\xml\EOD.xml' /> </Component> </DirectoryRef> </Fragment> </Wix> Now, here's the snippet of my merge module:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Module Id='MyMergeModule' Language='1033' Version='6.4.0.0'> <Package Id='[MY GUID HERE]' Description='My Module' Comments='My Module' Manufacturer='My Company' InstallerVersion='200' /> <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='MyModuleDirectory' Name='.'> <Directory Id='etc' Name='etc'> <Component Id='linehandler.properties' Guid='[MY GUID HERE]'> <File Id='linehandler.properties' Name='linehandler.properties' Source='..\etc\DotNet\linehandler.properties' /> </Component> </Directory> <Directory Id='xml' Name='xml'> <Directory Id='templates' Name='templates'/> </Directory> </Directory> </Directory> </Module> </Wix> Here's how I build: candle mymodule.wxs Templates.wxs light -out mymodule.msm mymodule.wixobj Templates.wixobj -loc WixUI_en-us.wxl If I do the same thing to include them in my main installer, it works fine. I'm using WIX 3.0. --- Bradford Younie Senior Software Engineer Chase Paymentech Solutions 4 NE Blvd Salem, NH 03079-1952 Fax: 603-896-813 bradford.you...@chasepaymentech.com ---------- Learn more about Chase Paymentech Solutions,LLC payment processing services at www.chasepaymentech.com. THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users