I currently use an mba which has my bundle strings in the C# mba project.  I
use the wxl files for my localized msi packages, for localized shortcut
descriptions, etc.  My bundles rely on default behavior of Burn to use the
-lang switch if it exists otherwise select the correct local based on the
system local, falling back under certain situations to the user local.  It
has been a while since I specifically tested the use of -lang, but the auto
selection in Burn is tested nearly every day around here, and I would hear
big time if that was not working.  Most QA testing is on non-english PC
around here.  When I was first developing my bundle I had problems observing
the correct language on Win 8, which was in pre-release at the time.  Until
I made the adjustment from the Win 7 approach, I thought my Bundle was
broken, but I just needed to learn the Win 8 way.

Burn detects the language, or uses the -lang switch to select the language
and loads the strings that were authored in a particular wxl file.  I would
expect your wxl files to have the strings that are used in your BA.  I
always start such a project by getting the wxl files that are default in the
WixStdBA src code, copy them to my project, and edit them adding the new
variables.  If the strings do not load into the dialog then there is an
issue with the wxl header section.  Also make sure that your bundle project
has the Culture property set in the wixproj file.  Use ProcessExplorer to
observe which lcid the setup is trying to load.  Once it loads the wxl file,
then the variables will be set to the values in the wxl file for that lcid. 
also declare a Variable in your bundle and set it to the Burn built-in
language variables.  Then evaluate a Verbose log in the %temp% folder to see
what is going on.  When the wxl is loaded you will see entries to indicate
that the variables are being initialized.

If I have a chance tomorrow I will try to create a small project.
 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-burn-bootstrapper-access-lang-as-a-property-or-variab-le-tp7599256p7599263.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to