Marcus
Marcus

Reputation: 1125

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

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?

Upvotes: 3

Views: 3105

Answers (2)

Jav_1
Jav_1

Reputation: 492

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

Select language for WIX installer in Visual Studio

Upvotes: 3

Dirk Vollmar
Dirk Vollmar

Reputation: 176169

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

Upvotes: 1

Related Questions