O'Reilly logo

WiX: A Developer's Guide to Windows Installer XML by Nick Ramirez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

WiX localization files

Suppose, to create an MSI for each language, you had to maintain separate Visual Studio projects or WiX source files for each one. That would become a hassle pretty quickly. With WiX localization files (.wxl), you can reuse the same WiX markup, but swap out the text for each language you build. Light, the WiX linker, lets you specify a WiX localization file (.wxl) file to use.

A .wxl file contains strings for a particular language. These can be swapped with placeholders (localization variables) when Light runs, creating an MSI with language-specific text. To create a new .wxl file, right-click on your WiX project in Visual Studio's Solution Explorer and select Add | New Item | WiX Localization File.

The convention is to name ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required