Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Using WixIIsExtension and localization variable errors on building localized installer

$
0
0
Advanced Localisation isn't really in Wix# scope. The issue#72 was about adding to Wix# the ability to specify fallback culture. It's done now and ExcaliburKG has confirmed (a year ago) that the feature is working. Thus as far as Wix# is concerned nothing needs to be done and it's unlikely any Wix# tricks will help you to solve your problem.

I suggest that you build your msi with Project.BuildMsiCmd. This will create all required WiX source files and the batch file for building msi without Wix#. Analyse the XMLs, batch file itself, dig WiX documentation. There will be something.

I am only guessing that on your PC the localization files cannot be found by candle.exe/light.exe.

When you fix that you may face other problems too. This is what if I got for InstallFiles sample with project.Language = "fr-FR,en-US"; (both localization resources are present on my PC):
light.exe : error LGHT0309 : Failed to open merge module for validation. The most common cause of this error is specifying that the merge module supports multiple languages (using the Package/@Languages attribute) but not including language-specific embedded transforms. To fix this error, make the merge module language-neutral, make it language-specific, embed language transforms as specified in the MSI SDK at http://msdn.microsoft.com/library/aa367799.aspx, or disable validation.
And it compiles fine for project.Language = "en-US,fr-FR";

Good luck.

Viewing all articles
Browse latest Browse all 1354