Hello Everybody,

 

I am new to both, MSI technology in general and the WiX product in
particular, but I have some experience with some old InstallShield products
(pre-MSI-age).

 

InstallShield allowed me to simply add translated strings for lots of
languages, so one single setup.exe contained the installer in multi
languages. This was very smart since I was able to send the same setup.exe
to any country of the world.

 

Now I want to write an installer with WiX that is also multi language (I
don't want to have lots of setup.msi files, but only a single one).

 

I wrote several .wxl files and linked them together using a line like this
one:

 

light.exe -cultures:de,neutral;fr,neutral;en,neutral;neutral -loc de.wxl
-loc fr.wxl -loc en.wxl -loc neutral.wxl Setup.wixobj

 

(While actually told nowhere, it seems that neutral.wxl must contain '
.culture="". ' [i. e. empty string] to indicate that it is the neutral
culture. I found out that by trial and error when adding the neutral
fallback to each culture).

 

What I expect to get from light.exe is one single .msi file containing all
four language packs: German, French, English and Neutral. Light provides a
single .msi so "from the outside" it seems to work.

 

My target is that the Windows Installer at install time picks German, French
or English strings automatically, depending on the user's current "Region
and Language Settings" or instead picks neutral strings when the current
user's local setting is neither German, French nor English (for example,
"Polish" / "Poland").

 

While light v3 accepts the above line and does not complain in any way (not
even ICE warnings), the Windows Installer picks Germany *always* when
running the resulting .msi file on my laptop -- despite the current setting
of "Polish" / "Poland" in the "Region and Language Settings" control panel.
:-(

 

Can anybody tell me what my fault is?

 

Thanks

Markus

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to