Nope you're spot on with your guesses. It's probably documented somewhere but I'm not in the mood for trawling through the docs right now. I think either light is always trying to be pessimistic about what should be packaged into an .msi or .msm without an implicit reference telling it otherwise.
Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: 30 March 2011 16:32 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Merge Module not identifying my fragment files You are not allowed to add a <ComponentGroupRef> tag under <Directory>, at least in a merge module! The project is within Visual studio, so the fragment file is used in candle and light. I did though write <ComponentGroupRef Id=" FooFiles"/> under the <module> tag, and that seemed to work. I guess this was working within the <Product> tags when I was building an .msi, since you reference the component group under the < Feature > tag. BUT since you don't specify Features in merge modules, I didn't have the component group referenced anywhere in the <module> This was kind of misleading, and not documented anywhere, since I was expecting candle or light to identify the link between the 2 files without having to add the reference. Or am I thinking the wrong way? Thanks in advance, Stel > -----Original Message----- > From: Pally Sandher [mailto:pally.sand...@iesve.com] > Sent: 30 March 2011 16:02 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Merge Module not identifying my fragment > files > > I'm guessing it's probably because there's no reference to the > Fragment so it's not including it. Try adding a ComponentGroupRef for > FooFiles under your FOO Directory or something else which links the > Fragment to your Module Element. That should sort it out. > > Palbinder Sandher > Software Deployment Engineer > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the <Virtual Environment>** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP Email Disclaimer > > -----Original Message----- > From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] > Sent: 30 March 2011 15:06 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Merge Module not identifying my fragment files > > Hello there! > I'm trying to create a simple merge module, where I define my > components in a separate .wxs file as a fragment. > My directory structure is as follows: > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFiles64Folder"> > <Directory Id="INSTALLDIR" Name="Foo Ltd."> > <Directory Id="FOO" Name="Foo"/> > </Directory> > </Directory> > </Directory> > > My .wxs (<Fragment>) file has a bunch of components, sitting under the > DirectoryRef tag with Id="FOO" > They are also added in a component group called "FooFiles" > > When I build the project, light gives me a warning saying that the > merge module cabinet is empty. > Adding the components directly under the <<Directory Id="FOO" ...> tag > works like a charm. > > Is there something I'm missing out here? Doing this in a standalone > installer works fine! > > Regards, > Stel > > ________________________________ > > This message is confidential and may be privileged. It is intended > solely for the named addressee. If you are not the intended recipient, > please inform us. Any unauthorised dissemination, distribution or > copying hereof is prohibited. Formicary Limited registered office in > England and Wales, address > 1 Taillar Road, Hedon, East Yorkshire HU12 8GU, registration number > 3894343, VAT number 747644304, does not guarantee that the integrity > of this communication has been maintained nor that this communication > is free of viruses, interceptions or interference. > > ---------------------------------------------------------------------- > -- > ------ > Create and publish websites with WebMatrix Use the most popular FREE > web apps or write code yourself; WebMatrix provides all the features > you need to develop and publish your website. > http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- Create and publish websites with WebMatrix Use the most > popular FREE web apps or write code yourself; WebMatrix provides all > the features you need to develop and publish your website. > http://p.sf.net/sfu/ms- webmatrix-sf > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ________________________________ This message is confidential and may be privileged. It is intended solely for the named addressee. If you are not the intended recipient, please inform us. Any unauthorised dissemination, distribution or copying hereof is prohibited. Formicary Limited registered office in England and Wales, address 1 Taillar Road, Hedon, East Yorkshire HU12 8GU, registration number 3894343, VAT number 747644304, does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ ------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users