[wix-users] How to link fragment into a module to produce merge module

Helge Kruse Helge.Kruse at gmx.net
Mon Nov 7 09:25:20 PST 2016

I'm sorry, this was not correct.

The ComponentGroupRef should be a child in the <Feature> element as
show for a simple ComponentRef instead of a ComponentGroupRef here:

see also: http://wixtoolset.org/documentation/manual/v3/xsd/wix/feature.html

Best regards,

2016-11-07 14:59 GMT+01:00 Andres Armengol <andres.armengol at pantec.com>:
> Thanks but...
> If I include ComponentGroupRef child element then candle will return an error:
> D:\Setup.msm.Sample>"C:\Program Files (x86)\WiX Toolset v3.10\bin\candle.exe" Me
> rgeModule.wxs Source.wxs
> Windows Installer XML Toolset Compiler version
> Copyright (c) .NET Foundation and contributors. All rights reserved.
> MergeModule.wxs
> D:\Setup.msm.Sample\MergeModule.wxs(8) : error CNDL0005 : The Directory element
> contains an unexpected child element 'ComponentGroupRef'.
> Source.wxs
> D:\Setup.msm.Sample>"C:\Program Files (x86)\WiX Toolset v3.10\bin\light.exe" -ou
> t sample.msm MergeModule.wixobj Source.wixobj
> light.exe : error LGHT0103 : The system cannot find the file 'MergeModule.wixobj
> ' with type 'Source'.
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

PGP Fingerprint: EDCE F8C8 B727 6CC5 7006  05C1 BD3F EADC 8922 1F61

More information about the wix-users mailing list