views:

252

answers:

3

is it possible to create a multilanguage installer using WIX ?

+2  A: 

It may not be impossible, but it is likely very, very difficult to author an MSI with Wix where the UI language is determined at runtime. Wix is all about build-time localization, ie you can easily create different MSIs, each with its own UI language, from the same source files.

Paul Lalonde
+1 Everything that I have seen shows localization done at build time, with separate localized MSIs being output.
Bryan Batchelder
But an MSI can have MST files beside it. The MST file transform the MSI to another language.
Ikaso
@Ikaso That's true, but I don't think it solves the OP's problem because you still need something external to the MSI to decide which MST to apply.
Paul Lalonde
A: 

Apparently there is a solution to your problem using WIX. What you need to do is to create a bootstrap loader. There is a tool called Setupbld.exe that helps with that. You can read more on John Robbins' Blog.

Ikaso
+3  A: 

You can do this without bootstrapper, if you create embedded transformations, and MSI installer will automatically apply one of them, according to your system locale.

For complete details & scripts, please, follow this link:

http://www.geektieguy.com/2010/03/13/create-a-multi-lingual-multi-language-msi-using-wix-and-custom-build-scripts/

They say, it is undocumented feature of Microsoft Installer, so please, be careful using it.

omlin