Hello, There is a Wix snippet at the end of the email. Please note the Languages attribute in the Package element. It reads Languages="1033,1029"
1033 stands for US English 1029 is Czech If I compile and link this, the light.exe linker outputs: ... Generating database. Validating database. light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x658 occurred: Error applying transforms. Verify that the specified transform paths are valid ... Now I open "Regional and Language Options"->"Regional Options" tab and change preferences from "Czech" to say "German (Germany)" and recompile/relink. The linking phase passes alright and produces a merge module. I change 1029 to 1031 so the Languages attribute look like this Languages="1033,1031" 1031 is Germany-German .. recompile and again ... Validating database. light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x658 occurred: Error applying transforms. Verify that the specified transform paths are valid .. then I change regional preferences to "Spanish (Spain)" and recompile and get the desired merge module. I leave in effect the spanish regional preferences and change LCID 1031 (ge-GE) to 1034 (es-ES) so the Languages attribute looks like this Languages="1033,1034"... 1034 - Traditional Spanish .. recompile and again ... ... Validating database. light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x658 occurred: Error applying transforms. Verify that the specified transform paths are valid ... My conclusion is that whenever regional preferences are the same as alternate merge module language the linking fails. As long as the regional preferences do not match the alternate language linking succeeds. I tested the foregoing scenario on two WinXP SP2 machines and one Vista Business with the same results. Wix linker version is 3.0.4227. Is it a Wix linker bug, Windows bug or I’ve failed to comprehend the multiple language merge module creation? <?xml version="1.0" encoding="windows-1252"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Module Id="MutliLangMSM" Language="1033" Codepage="1252" Version="1.0.0"> <Package Id="DD1FE6B1-8190-479A-8F4E-673371F0C3E6" Manufacturer="Me" InstallerVersion="200" Languages="1033,1029" SummaryCodepage="1252" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="INSTALLDIR"/> </Directory> <DirectoryRef Id="INSTALLDIR"> <Component Id="FirstComponent" Guid="D4950891-DA8B-4F11-9FC0-9CBC5EA691F6"> <CreateFolder/> </Component> </DirectoryRef> </Module> </Wix> Thank you, Radovan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users