How do I change the language of a Wix 3.5 MSI?

2.9k Views Asked by At

I have created an installer with Windows Installer XML 3.5 from within the Visual Studio 2010. The installer itself works pretty well but now I would like to change it's default language from english (1033) to german (1031). Therefore I changed the language attribute within the product tag to "1031" which should do the magic as far as I know but nothing happens. The language is still english.

<Product Id="MyProductId" Name="NameOfMyApp" Language="1031" Version="MyVersionNumber" Manufacturer="MyCompany" UpgradeCode="MyUpgradeCode">

What am I missing here?

2

There are 2 best solutions below

1
Dirk Vollmar On BEST ANSWER

You need to specify the language (culture) on the command line when building as described here (or in the project properties when you are using Votive):

WiX Tutorial - Do you speak English?

candle.exe SampleWixUI.wxs
light.exe -ext WixUIExtension -cultures:de-de SampleWixUI.wixobj
0
Jav_1 On

You can also do it in Visual Studio: Project - Properties - Build - Cultures to build.

Select language for WIX installer in Visual Studio