That suggestion doesn't make sense to me. <?include?> doesn't incorporate the included file as a different fragment, it "imports" the file at the location of the processing instruction in building the DOM actually presented to the compiler proper, making it lay in the same fragment.
Also, merge modules don't include features, so there's no Feature under which to place the ComponentRef. And, in when building MSIs instead of MSMs, if you miss the ComponentRef under some Feature, your component is still included in the MSI (assuming the fragment the component is in was otherwise included by the linker) but you get an error indicating that the component won't be installed because it isn't included in any components. It may possibly be a bug. If you migrate your solution to WiX 3.whatever, does it still happen? I don't know if 2.0 would be fixed or not for something like this since 3.0 has been RTM for quite some time now. -----Original Message----- From: Mark Modrall [mailto:mmodr...@mzinga.com] Sent: Monday, October 18, 2010 6:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Include question. Thanks for the reply... I'm not adding any ComponentRef, so that's probably it. Just out of curiosity, adding a <Directory> under a <Directory> is automatically included but file references (bundled under a <Component>) won't? Thanks Mark -----Original Message----- From: jhennessey [mailto:jack.hennes...@hyland.com] Sent: Friday, October 15, 2010 7:52 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Include question. Are you adding a ComponentRef for ASPcomponent0 under a feature? If not it will not be included in the MSI. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Include-questi on-tp5631284p5638617.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users