visual-studio-2010localizationwixvotive

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?


Solution

  • 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