In case it’s helpful to anyone, I posted how I got this working on SO: http://stackoverflow.com/questions/29266905/wix-toolset-how-to-create-a-single-exe-with-product-name-localized-for-multiple/29499382#29499382
If anyone sees any improvements or problems, please post! Thanks again for everyone’s help. David On Apr 2, 2015, at 2:35 PM, David Burson <david_bur...@ntm.org<mailto:david_bur...@ntm.org>> wrote: It works in OnDetectComplete!!! Thanks everyone for all the help. One question though: In my HyperlinkSidebarTheme wxl's, I use [WixBundleName] in several strings (Caption, Title). If I use one of those strings in value of <Window> in my HyperlinkSidebarTheme.xml, what is shown at install time in the installer window titlebar is the value I hardcoded into the Name attribute of my <Bundle> element. Using those same strings in a <text> element on the Install page, the value I set in BAFunctions.dll is shown. So, I assume OnDetectComplete is too late for <Window>. Can anyone tell me if WixStdBALanguageId is guaranteed to be set to the user’s language at an earlier stage? Is OnDetect a safe place to check WixStdBALanguageId and set WixBundleName? Also, there is no OnDetectBegin in WixBootstrapperBAFunction.cpp. If that’s what I should use, I assume I just create it patterned after OnDetect? On Apr 2, 2015, at 9:01 AM, Phill Hogland <phogl...@rimage.com<mailto:phogl...@rimage.com>> wrote: OnDetectComplete handler is safe. OnDetectBegin if you know that WixStdBALanguageId has been initialized prior to OnDetectBegin. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/BAFunctions-dll-to-set-WixBundleName-from-the-language-of-the-user-s-computer-tp7599747p7599812.html Sent from the wix-users mailing list archive at Nabble.com<http://Nabble.com>. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ 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