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

Andres Armengol andres.armengol at pantec.com
Mon Nov 7 05:59:50 PST 2016

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.

D:\Setup.msm.Sample\MergeModule.wxs(8) : error CNDL0005 : The Directory element
contains an unexpected child element 'ComponentGroupRef'.

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'.

More information about the wix-users mailing list