1. Change both the modu...@language and packa...@language tags to always be the same.
<Module Id="UBFD32" Language="!(loc.lan)" Version="1.0.0" > <Package Id="31014540-afc1-11df-94e2-0800200c9a66" Manufacturer="Software" Languages="!(loc.lan)" InstallerVersion="200" /> 2. Make sure that the values of the localization variable "lan" are decimal values of locals that your platform supports. Here are some charts that show the supported lists for different platforms: http://msdn.microsoft.com/en-us/goglobal/bb896001.aspx (select the platform from the dropdown). Thus, I would expect that your files would have (I'm assuming that jr-jp.wxl is intended to correspond to the locale named "ja-JP"): en-us.wxl: <WixLocalization ... Culture="en-US"> ... <String ... Id="lan">1033</String> ... jr-jp.wxl: <WixLocalization ... Culture="ja-JP"> ... <String ... Id="lan">1041</String> ... fr-fr.wxl: <WixLocalization ... Culture="fr-FR"> ... <String ... Id="lan">1036</String> ... where "..." is any additional markup you require. This will produce one MSM for each language. You will then include them using the same value for Language in your "Merge" element. -----Original Message----- From: sagar shinde [mailto:sagar.i...@gmail.com] Sent: Tuesday, October 19, 2010 11:41 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Merge Module Hi, I am using windows 7 OS, i my merge module is somthing like this, <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension"> <Module Id="UBFD32" Language="1033" Version="1.0.0" > <Package Id="31014540-afc1-11df-94e2-0800200c9a66" Manufacturer="Software" Languages="!(loc.lan)" InstallerVersion="200" /> <Property Id="ALLUSERS"> 1 </Property> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="Ul Name=""> <Directory Id="ULN" Name=""> <Directory Id="INSTALLLOCATION" Name=""> </Directory> </Directory> </Directory> </Directory> </Directory> <DirectoryRef Id="INSTALLLOCATION"> <Component Id=> <File Id="" /> </Component> </DirectoryRef> </Module> </Wix> and more files i have included in it.Those are en-us.wxl, jr-jp.wxl,and fr-fr.wxl, when i build this moduled it creates three folders and msm files for each language. now when i tried to use these merge module in may main project which also contain en-us.wxl, jr-jp.wxl,and fr-fr.wxl,files but it shows follwing error when i try to build it. Error 1 Unable to open merge module 'E:\U\UB\bin\Debug\en-us\U.msm'. Check to make sure the module language is correct. 'The language of this installation package is not supported by your system. (Exception from HRESULT: ' E:\U\UB_Wix\Product.wxs 204 1 UBSetup_Wix and i also tried to achive it by using if condition and foreach loop for diffrent languages.but its showing same error. Thankyou, Sagar S. On Wed, Oct 20, 2010 at 9:24 AM, Blair <os...@live.com> wrote: > Are you trying to build localized merge modules, or a multiple language > merge module? > > What language(s) besides 1033 are you trying to use? > > You still haven't told me what OS you are using. > > -----Original Message----- > From: sagar shinde [mailto:sagar.i...@gmail.com] > Sent: Tuesday, October 19, 2010 12:31 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Merge Module > > Thanks for reply > > I am using same machine for both projects the merge module as well as main > project. There is no OS difference or any other configuration change > if i do merge module with only language "1033" it works properly, but when > i tried to do it with localization > just i tried to do the things with foreach loop but it doesn't seems > working > for me can you please suggest me properway to achive localization with > merge module > > Thank's > Sagar S. > > ---------------------------------------------------------------------------- > -- > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------------- -- > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users