I found an small issue when I was building msi for IIS application, when you
include WixIIsExtension, and you set your culture to say, "nb-NO", then I
was getting lots of errors like this:

error LGHT0102: The localization variable !(loc.ConfigureIIs) is unknown. 
Please ensure the variable is defined.
error LGHT0102: The localization variable !(loc.ConfigureIIsExec) is
unknown.  Please ensure the variable is defined.
error LGHT0102: The localization variable !(loc.StartMetabaseTransaction) is
unknown.  Please ensure the variable is defined.
error LGHT0102: The localization variable !(loc.RollbackMetabaseTransaction)
is unknown.  Please ensure the variable is defined.

To fix that, I just copied the file en-us.wxl from
src\ext\IIsExtension\wixlib (sources of Wix 3.8), and changed the
culture-attribute on the WixLocalization element, then included it in the
linker-step like this (I'm using msbuild):

<LinkerAdditionalOptions>-loc iisExt_nb-NO.wxl</LinkerAdditionalOptions>
At least that made the linker happy, and I'm not sure if these messages
would provide any usefulness for the end user if they was translated either,
so I keep them like this.

It would though, have been nice if Wix could have been instructed to use
en-us as the default locale for missing locales in the various extensions,
and just give these errors as warnings instead.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localizations-and-missing-cultures-tp7595223.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to