Can you try grabbing the mergemod.dll out of the latest drop of the WiX v3 toolset (http://wix.sourceforge.net/releases)? There was a bug recently found in mergemod.dll that the VC runtime merge modules seem to have uncovered.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Enderlein Sent: Friday, June 06, 2008 02:33 To: wix-users@lists.sourceforge.net Subject: [WiX-users] light.exe crash when using Shortcuts and Merge modules in Wix Hi folks, I'm using WiX 2.0.5805.0 on Windows XP and facing a crash of light.exe when using Merge Modules and Shortcuts together. If I omit the Shortcut definition everything runs fine. The error message from light.exe is: light.exe : error LGHT0001 : Beim Aufruf einer COM-Komponente wurde ein HRESULT E_FAIL-Fehler zurückgegeben. Exception Type: System.Runtime.InteropServices.COMException Stack Trace: bei Microsoft.Tools.WindowsInstallerXml.IMsmMerge2.Merge(String feature, String directory) bei Microsoft.Tools.WindowsInstallerXml.Binder.MergeModules(String databasePath, Output output) bei Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output) bei Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) You'll find the simple test program to reproduce this behaviour attached. test.wxs <?xml version="1.0" encoding="windows-1252"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Product Name="alaska 5.2" Id="A6FD86D1-28AD-4387-B90A-EEB241E7F002" Language="1033" Codepage="1252" Version="5.2.0" Manufacturer="Institute of Mechatronics"> <Package Id="????????-????-????-????-????????????" Keywords="Installer" Description="Test Installer" Comments="alaska is a registered trademark of Institute of Mechatronics." Manufacturer="Institute of Mechatronics" InstallerVersion="100" Languages="1033" Compressed="yes" SummaryCodepage="1252" /> <Condition Message="You need to be an administrator to install this product."> Privileged </Condition> <Media Id="1" Cabinet="Sample.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1" /> <Property Id="DiskPrompt" Value="Test 1.0 Installation [1]" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" Name="PFiles"> <Directory Id="IfmFolder" Name="Test"> <Directory Id="INSTALLDIR" Name="alaska" LongName="Test 1.0"> <Merge Id="VC_User_MFC71_Loc.3B4432BE_1CFD_4D42_9C85_9C9C551C257A" Language="1033" SourceFile="C:\Programme\Gemeinsame Dateien\Merge Modules\VC_User_MFC71_Loc_RTL_X86_---.msm" DiskId="1" /> <Directory Id="Compositing" Name="Composit" LongName="Compositing"> <Component Id="Test_01" Guid="47EB0E1F-FE57-4953-8E70-2EBCA174A98A"> <File Id="TestEXE" Name="Test.exe" LongName="Test.exe" DiskId="1" Source="Test.exe" Vital="yes"> <Shortcut Id="startmenuTest" Directory="ProgramMenuDir" Name="Test" LongName="Test 1.0" WorkingDirectory="Compositing" Icon="Test.exe" IconIndex="0" /> </File> </Component> </Directory> </Directory> </Directory> </Directory> <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs"> <Directory Id="ProgramMenuDir" Name="alaska" LongName="Test 1.0" /> </Directory> </Directory> <Feature Id="Compositing" Title="Compositing Module" Description="The Compositing Module" ConfigurableDirectory="INSTALLDIR" Level="1000"> <ComponentRef Id="Test_01" /> <MergeRef Id="VC_User_MFC71_Loc.3B4432BE_1CFD_4D42_9C85_9C9C551C257A" /> </Feature> <UIRef Id="WixUI_Mondo" /> <UIRef Id="WixUI_ErrorProgressText" /> <Icon Id="Test.exe" SourceFile="Test.exe" /> </Product> </Wix> Hope someone could shed light on this issue (pun intended). Cheers Volker -- Volker Enderlein Tel: +49 (0)371 53119651 Institut für Mechatronik Fax: +49 (0)371 53119699 Reichenhainer Strasse 88 email: [EMAIL PROTECTED] D-09126 Chemnitz ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users