Simply wrap the MergeRef's in a Feature then use a FeatureRef -> http://wix.sourceforge.net/manual-wix3/wix_xsd_featureref.htm
Don't worry about HTML e-mail, the list bot strips formatting & sends as list mail as plain text. 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: Brad Lemings [mailto:b...@rebit.com] Sent: 18 May 2011 17:51 To: General discussion for Windows Installer XML toolset.(wix-users@lists.sourceforge.net) Subject: [WiX-users] Grouping Merge Modules? Currently, I have a .wxs file with the following: ... <!-- Visual Studio/C++ runtime merge modules --> <Merge Id="VCRedistCRT" DiskId="1" Language="0" SourceFile="$(var.MsmPrefix)CRT$(var.MsmSuffix)" /> <Merge Id="VCRedistCRTPolicy" DiskId="1" Language="0" SourceFile="$(var.PolicyPrefix)CRT$(var.MsmSuffix)" /> <Merge Id="VCRedistMFC" DiskId="1" Language="0" SourceFile="$(var.MsmPrefix)MFC$(var.MsmSuffix)" /> <Merge Id="VCRedistMFCPolicy" DiskId="1" Language="0" SourceFile="$(var.PolicyPrefix)MFC$(var.MsmSuffix)" /> <!-- Not currently required <Merge Id="VCRedistATL" DiskId="1" Language="0" SourceFile="$(var.MsmPrefix)ATL$(var.MsmSuffix)" /> <Merge Id="VCRedistATLPolicy" DiskId="1" Language="0" SourceFile="$(var.PolicyPrefix)ATL$(var.MsmSuffix)" /> <Merge Id="VCRedistMFCLOC" DiskId="1" Language="0" SourceFile="$(var.MsmPrefix)MFCLOC$(var.MsmSuffix)" /> <Merge Id="VCRedistMFCLOCPolicy" DiskId="1" Language="0" SourceFile="$(var.PolicyPrefix)MFCLOC$(var.MsmSuffix)" /> <Merge Id="VCRedistOpenMP" DiskId="1" Language="0" SourceFile="$(var.MsmPrefix)OpenMP$(var.MsmSuffix)" /> <Merge Id="VCRedistOpenMPPolicy" DiskId="1" Language="0" SourceFile="$(var.PolicyPrefix)OpenMP$(var.MsmSuffix)" /> --> ... <MergeRef Id="VCRedistCRT"/> <MergeRef Id="VCRedistCRTPolicy"/> <MergeRef Id="VCRedistMFC"/> <MergeRef Id="VCRedistMFCPolicy"/> <!--<MergeRef Id="VCRedistATL"/> <MergeRef Id="VCRedistATLPolicy"/> <MergeRef Id="VCRedistMFCLOC"/> <MergeRef Id="VCRedistMFCLOCPolicy"/> <MergeRef Id="VCRedistOpenMP"/> <MergeRef Id="VCRedistOpenMPPolicy"/>--> ... I was wondering if and how these merge modules could be grouped somehow and referenced with a single Wix element. Thanks. P.S. Sorry for the HTML. Is plain text the preferred format? P.S.S. If this is answered somewhere already (e.g. a FAQ), please send a link! ------------------------------------------------------------------------ ------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users