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

Reply via email to