The Fragment seems like it should have worked. Fastest thing might be to open the Merge Module using Orca and see if your Component definition is in there. If not, then I'm a little surprised since that ComponentGroupRef should do it. if it is in the Merge Module then you'll want to check your Merge elements in your Product.
PS: Any reason not to use .wixlibs in this scenario: http://www.robmensching.com/blog/posts/2008/10/10/What-are-.wixlibs-and-why-would-you-use-them On Tue, Jul 12, 2011 at 10:46 AM, Leigh Wetmore <lwetm...@gmail.com> wrote: > Hello, > My goal is to create a merge module where my module/package elements are > defined in one .wxs file, and the module's directories/components in > another. I currently have: > ***MyModule.wxs*** > > ---------------------------------------------------------------------------------------------------- > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <?include MyInclude.wxi ?> > <Module > Id='MyModule' > Language='!(loc.Language)' > Version='!(bind.FileVersion.MyLib)'> > > <Package > Id="$(var.MyModuleId)" > Keywords="!(loc.Keywords)" > Description="!(loc.MyModuleDesc) !(bind.FileVersion.MyLib)" > Comments="!(loc.MyModuleComments)" > Languages="!(loc.Language)" > Manufacturer="!(loc.Manufacturer)" > InstallerVersion="200" /> > <ComponentGroupRef Id="MyComponents"/> > </Module> > </Wix> > > > ---------------------------------------------------------------------------------------------------- > > > ***MyComponents.wxs*** > > > ---------------------------------------------------------------------------------------------------- > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <?include MyInclude.wxi ?> > <Fragment> > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="$(var.PlatformProgramFilesFolder)"> > <Directory Id="INSTALLLOCATION"> > <Component Id="MyComponent1" Guid="{myguid}"> > <File Id="MyFile1" ... /> > </Component> > ... > </Directory> > </Directory> > </Directory> > <ComponentGroup Id="MyComponents"> > <ComponentRef Id="MyComponent1"/> > ... > </ComponentGroup> > </Fragment> > </Wix> > > ---------------------------------------------------------------------------------------------------- > I have another Wix project that consumes the merge module and generates an > MSI. Everything compiles and the MSI runs, however none of my components in > MyComponents.wxs are installed. If I get rid of MyComponents.wxs and use a > single file, everything works: > ***MyModule.wxs*** > > > ---------------------------------------------------------------------------------------------------- > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <?include MyInclude.wxi ?> > <Module > Id='MyModule' > Language='!(loc.Language)' > Version='!(bind.FileVersion.MyLib)'> > > <Package > Id="$(var.MyModuleId)" > Keywords="!(loc.Keywords)" > Description="!(loc.MyModuleDesc) !(bind.FileVersion.MyLib)" > Comments="!(loc.MyModuleComments)" > Languages="!(loc.Language)" > Manufacturer="!(loc.Manufacturer)" > InstallerVersion="200" /> > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="$(var.PlatformProgramFilesFolder)"> > <Directory Id="INSTALLLOCATION"> > <Component Id="MyComponent1" Guid="{myguid}"> > <File Id="MyFile1" ... /> > </Component> > ... > </Directory> > </Directory> > </Directory> > > </Module> > </Wix> > > ---------------------------------------------------------------------------------------------------- > Am I perhaps referencing things in an incorrect manner? > Thanks in advance for any help you can provide, > Leigh > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users