My comment about using persisted variables is based on  this thread
<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Resume-Installation-Plan-td7579146.html#a7579182>
 
, and posibly others that I may have stumbled across.

I transitioned from using a bafunctions.dll (with Wix 3.7 and 3.8) to using
a mba in late 2013, so my memory of some aspects of using bafunctions.dll,
WixStdBA, and wxl, may be getting foggy.  Maybe I did not need to set
bal:Overridable when only reading a variable, I'm not sure, but the practice
I have followed is to set bal:Overridable if I do anything with the variable
in the BA (which includes a bafunctions.dll).

My mba has it's own resource strings which I use, based on the thread's
culture to set a Burn Engine variables or populate View messages.  I
currently do not use a wxl with my bundle projects, and handle all of the
bundle localization in the mba resource tables.  (I use wxl files with my
MSI projects which are compiled and shipped for eight cultures.  This is
mainly used to translate Action Texts, the Down-version message, and
shortcut or service descriptions.) 

The approach you have taken is interesting, but I cannot provide specific
advice on that issue.  If I was going to develop a WixStdBA for multiple
cultures:
1) I would first use the wxl files in the bundle project, which I recall was
effective back when I was using wix 3.8 and WixStdBA.
2) If I needed to, I think that I would add resource string tables to the
bafunctions.dll and use those resources to set an engine variable.

As I think I indicated in an earlier post, I don't know what the
ramifications are of trying to change the WixBundleName at run time.   Good
luck.  WiX rocks!

 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-define-a-custom-variable-in-bundle-wxs-and-get-its-value-in-BAFunctions-dll-tp7599844p7599986.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to