Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-16 Thread TimM
Thanks Niel..

Just for my reference could you let me know which Extended BA site that
contain these examples? I have seen a few and I think I know the one you are
talking about but just wanted to confirm? Also is there an example on the
site for specifically testing the Burn UI under system OS language?

Thanks,

Tim.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7588121.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-16 Thread Neil Sleightholm
This is the site http://wixextba.codeplex.com/

-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: 16 August 2013 19:55
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

Thanks Niel..

Just for my reference could you let me know which Extended BA site that contain 
these examples? I have seen a few and I think I know the one you are talking 
about but just wanted to confirm? Also is there an example on the site for 
specifically testing the Burn UI under system OS language?

Thanks,

Tim.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7588121.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-14 Thread Neil Sleightholm
There are some samples on the extended BA site that should help - if you have 
any problems it would be preferable if you posted questions there.

Neil

-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: 13 August 2013 22:47
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

Thanks Neil,

Before I look at moving over to 3.8 could you let me know what I would have to 
do to use the extended BA to test how that works with 3.7. Basically what 
changes do I have to make and if there are any files I have to be editing to 
actually make it work?

I have not done alot of Win 8 testing, but with the sound of it it looks like 
I'll have to start soon as we are releasing many projects that support multiple 
languages and therefore I better make sure we do not have issues with our 
current WiX installers.

Tim



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587998.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Rob Mensching
PS: The code you are interested in is in
src\ext\BalExtension\wixstdba\WixStandardBootstrapperApplication.cpp,
LoadLocalization(). That uses the helper function LocProbeForFile() that is
in src\dutil\locutil.cpp


On Tue, Aug 13, 2013 at 7:17 AM, TimM timmay...@smarttech.com wrote:

 So Phill, did you have a chance to try any of these suggestions and/or WiX
 3.8 to see if you can get the Burn wrapper .exe to launch correctly in the
 language of the OS?




 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587976.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Phill Hogland
Tim, I'm still working on it, but with other responsibilities here at work
have not made much progress yet.  I do not have my project building under
3.8 yet.  Last week I went down the route to change from using
WixBootstrapperApplication.HyperlinkLicense to
WixExtendedBootstrapperApplication.HyperlinkLicense  so that I could use the
BAFunctions.dll to try and address the auto detect of user language.  I did
not realize that 3.7 was supposed to detect the language.  Now I understand
the approach that Neil has suggested but I am trying to upgrade to 3.8 and
having issues building with Extended bootstrapper.  I have another issue to
address here at work and then will get back on this issue.

Thanks for the info Rob.  I will look at that code.
Phill 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587978.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Phill Hogland
I have my bundle building under WiX 3.8 and yes on Windows 8 Professional
with German selected as the default language, the bundle showed my localized
German strings without the need for the -lang switch.

I have yet to implement Neil's suggestion to create a localized variable in
my wxl files which will be passed to the MsiProperty as the name of the
transform, but I am sure that approach will also work.

Sorry for the delay in reporting back.  Knowing this now I probably did not
need to go down the path of integrating with the
WixExtendedBootstrapperApplication, but I suspect I will need some of those
features (like the two browse paths) eventually.  And since I previously
created a BalExtension based on Neil's sample code to generate a version
number at build time, I had to do a little reorganization of my project when
I converted it to Wix 3.8.  So in Wix 3.8 I found that I could change to
using the WixStandardBootstrapperApplication.HyperlinkLargeLicense and all I
needed to do was change the variables 
WixExtbaLicenseUrl, WixExtbaThemeXml, and WixExtbaThemeWxl to:
WixStdbaLicenseUrl, WixStdbaThemeXml, and WixStdbaThemeWxl.

I did not find where this was documented in the Wix 3.8.722.0 documentation,
but when the linker complaiined using the new name I figured out the issue.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587980.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread TimM
Rob, excuse a non-experienced programmer here.

I was looking at the code for the LocProbeForFile function was wondering
about it. In the first if statement you are checking to see if a language
was specified. Is this coming from a language selection dialog box and/or
from the -lang LangID cmd line?

As stated if I use the -lang LangID on the cmd line then the Burn wrapper
.exe will correctly launch in that language, using my translated theme
files, but if we just launch the .exe it does not take the System Language.

So that brings me to the GetUserDefaultUILanguage and
GetSystemDefaultUILanguage. If the seleted language is not found then where
is it looking to check for User or System languages?

Again since I am not an experienced programmer I need to understand what
these entries are looking for?

So if you do not mind giving a bit of help here I would appreciate it.

Also will WiX 3.8 have burn updated so that it can detect and launch in the
system language, if supported?

Thanks



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587982.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Neil Sleightholm
The code does the following:
1. Read the -lang command line
2. Call 
GetUserDefaultLangID()http://msdn.microsoft.com/en-us/library/windows/desktop/dd318134(v=vs.85).aspx
 this should get the current users language.
3. Try the current user langid but without the sub language.
4. Call 
GetSystemDefaultUILanguage()http://msdn.microsoft.com/en-us/library/windows/desktop/dd318123(v=vs.85).aspx
 this should get the system language.
5. Try the current system langid but without the sub language.

So (ignoring the command line) if the users language is Mexican and there is a 
Mexican translation it will find that, if not it will try Spanish. If that 
fails is will repeat the process of the system language.

I tested this on several languages and it did seem to work ok - I was only 
checking that the Burn UI was translated. Do you have a problem with a specific 
language?

Neil

-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: 13 August 2013 18:09
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

Rob, excuse a non-experienced programmer here.

I was looking at the code for the LocProbeForFile function was wondering about 
it. In the first if statement you are checking to see if a language was 
specified. Is this coming from a language selection dialog box and/or from the 
-lang LangID cmd line?

As stated if I use the -lang LangID on the cmd line then the Burn wrapper .exe 
will correctly launch in that language, using my translated theme files, but if 
we just launch the .exe it does not take the System Language.

So that brings me to the GetUserDefaultUILanguage and 
GetSystemDefaultUILanguage. If the seleted language is not found then where is 
it looking to check for User or System languages?

Again since I am not an experienced programmer I need to understand what these 
entries are looking for?

So if you do not mind giving a bit of help here I would appreciate it.

Also will WiX 3.8 have burn updated so that it can detect and launch in the 
system language, if supported?

Thanks



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587982.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Phill Hogland
I don't mean to side-track Tim's question but to clarify I was (and I think
Tim is) running under Wix 3.7 and for me under Wix 3.7 on Windows 8 I never
saw it select one of my wxl languages without me using the -lang switch. 
Neil said earlier that there was a bug in Wix 3.7 so I updated to Wix
3.8.722.

Earlier I posted that Wix 3.8 is detecting the language (without fully
testing all languages.  Here let me say again I am testing on Windows 8
Professional x64 and I find the Windows 8 GUI for setting languages more
confusing than my past experiences (so I am just saying this not to complain
but to report that I have been a little unclear on what Windows 8 is doing).

So even though with Wix 3.8 the bundle was selecting the language based on
my UserDefaultLanguageID, I verified this several times changing the User
Default between English and German.  I also verified that if -lang 1041 is
passed in Japanese is display regardless of the UserDefaultLanguageID.

Now here is a strange twist.  I was stepping though locutil.cpp and noticed
while I cannot see what is in langid after the call to GetUserDefaultLnagID
the next call creates a path to 1033\thm.wxl EVEN WHEN both the
UserDefaultLangID is German, the current display lang is German, and the
SystemDefault is German (1031).  The code then checks to see if the path is
valid.

Originally the check for a valid path would fail, because I did specify a
payload for 1033, and the code would get the SystemDefaultLangID, which is
1031 and display German.  Success, I thought, but not understanding what is
going on I thought I would make my project more efficient by adding a 1033
payload.  So I made the change and recompiled.

Now the code looks for the 1033\thm.wxl path, finds it and uses it,
displaying English even if all OS settings are set to German.  So now I am
back to the same behavior as Wix 3.7 where it always displays English.

I have not had a chance to check this on other OS or with other languages
yet.  Nor have I tried to remove my 1033\thm.wxl payload and try to
reproduce the original behavior where it selected the German wxl, although I
am not entirely sure how.


BootstrapperApplicationRef
Id=WixStandardBootstrapperApplication.HyperlinkLargeLicense 
  

  Payload Name=bafunctions.dll Compressed=yes
SourceFile=$(var.BAFuncBuildDir)\bafunctions.dll /
  Payload Name=Logo.png SourceFile=Resources\logo.png /

  
  Payload Id=theme_de_de Compressed=yes  Name=1031\thm.wxl
SourceFile=Resources\1031\QDthm_de_de.wxl/
  Payload Id=theme_en_us Compressed=yes  Name=1033\thm.wxl
SourceFile=Resources\1033\QDthm_en_us.wxl/
  Payload Id=theme_es_es Compressed=yes  Name=1034\thm.wxl
SourceFile=Resources\1034\QDthm_es_es.wxl/
  Payload Id=theme_fr_fr Compressed=yes  Name=1036\thm.wxl
SourceFile=Resources\1036\QDthm_fr_fr.wxl/
  Payload Id=theme_it_it Compressed=yes  Name=1040\thm.wxl
SourceFile=Resources\1040\QDthm_it_it.wxl/
  Payload Id=theme_ja_jp Compressed=yes  Name=1041\thm.wxl
SourceFile=Resources\1041\QDthm_ja_jp.wxl/
  Payload Id=theme_zh_cn Compressed=yes  Name=2052\thm.wxl
SourceFile=Resources\2052\QDthm_zh_cn.wxl/

/BootstrapperApplicationRef
?endif?
   
WixVariable Id=WixStdbaLicenseUrl
Value=http://www.rimage.com/legal.html; /
WixVariable Id=WixStdbaThemeXml Value=Resources\QDthm.xml /
WixVariable Id=WixStdbaThemeWxl
Value=Resources\1033\QDthm_en_us.wxl /


Originally when the selection of the language appeared to work I had th
following, and did not have the above 1033\thm.wxl Payload element.
   WixVariable Id=WixStdbaThemeWxl Value=Resources\QDthm_en_us.wxl /


And while this is not related to the above discussion, in my language files
I have strings like this.
  String Id=CDDTransform1031.mst/String
  String Id=QDTransfrom:1031.mst/String

Which get passed to the MsiPackage like this
MsiProperty Name='TRANSFORMS' Value='!(loc.QDTransfrom)'/


Sorry to pile on with so much info but there seems to be some implementation
related variations in the behavior.

Phill  





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587987.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Phill Hogland
Too clarify my comment about not being able to see what the result is for:

langid = GetUserDefaultLangID()  (in locutil.cpp)

The issue is that LANGID langid is a type that WinDbg cannot interpret,
however when I step into the call with the disassembler I can see that
Windows 8 is returning 0x0409 (or English on a system that I have both User
and System defaults set to German.  Or put another why, I obviously don't
understand something about how Windows 8 is configured.  So I am researching
that issue (and assuming that if I was using Windows 7 or XP there probably
would not be as much confusion and the Wix code probably works as
advertised). 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587988.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Phill Hogland
OK I unravelled the Windows 8 configuration issue.  This test system I
thought was configured for German and English and I thought that I was
setting both the System Default and the User Default to 1031 for these
tests.  I would change the order of the list under Language Preferences
(based on various Internet statements to the effect that the top item in the
list is the User Default).  Not true, well at least not always true.

On the Language Preferences dialog, click on the bottom item on the left
panel, 'Change date, time or number formats' (and no clue that this is where
you set the User Default Language ID).  The top item in that dialog was set
to 'Match selected display language (recommended)'  So one can change that
setting and set a specific language (German) and then the call in burn does
return 0x407, rather than always English.  

But why did ''Match selected display language (recommended)' not work?  Back
to the Language Preferences dialog and eventually I noticed that both the
English and German keyboard layouts were installed, but the German display
language was not installed.  So I installed it.

Now the behavior is that the Wix setup runs in the Language that is at the
top of the Display Language list, and not necessarily the language the user
currently has selected (as the Windows 8 Match selected display language
implies).

So to summarise, after moving to WiX 3.8, the UsersDefaultLanguageID does
control the displayed language of my bundle (if I do not use -lang ) AND on
Windows 8 a user might be confused, but the underlying API is returning the
Default so this does not appear to be a Wix behavioral issue.

With that said, I wonder if there is still a problem with the Wix 3.8
implementation (or documentation) for a project in which the
WixStdbaThemeWxl file is not located in a folder of 1033, and yet matches
the UserDefaultLangID, it fails to use that thm.wxl file.  Most examples
that I have seem show adding other languages in there own lcid\thm.wxl file,
but they do not necessarily make the point that the 'default' or English
file also MUST be in a 1033 folder, for this code to make use of the file.
 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587990.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread TimM
Neil, thanks for pointing out what the code does.

I am running WiX 3.7 on Win 7 64 bit the problem is that when I have the
System OS set to French, the current language that I have been testing, and
run the burn wrapper .exe the burn UI will only appear in English.

When I add the -lang 1036 to the command line then the burn UI and license
file will correctly show in French.

Now looking at Phill's latest comments I also set the English UI strings in
the payload as well as on the bal element entries. The main sections of code
shown below:

BootstrapperApplicationRef
Id=WixStandardBootstrapperApplication.RtfLicense
bal:WixStandardBootstrapperApplication
   
LicenseFile=$(var.PROJECT_ROOT)\EULAs\Toolkit\en\License.rtf
ThemeFile=CustomUI\RtfTheme.xml
   
LocalizationFile=$(var.PROJECT_ROOT)\EULAs\Toolkit\en\RtfTheme.wxl
LogoFile=table_toolkit_app_for_WiX.png /

PayloadGroupRef Id=RtfTheme_licenses/
PayloadGroupRef Id=RtfTheme_Strings/
/BootstrapperApplicationRef

So if there is a bug in WiX 3.7 that corrects for this and therefore works
in 3.8 then we'll have to look into upgrading, but if there is a fix for 3.7
or something that I am missing to get the Burn UI to correctly show in the
System Language then I would appreciate the help.

So if you have this working on serveral languages then were you using WiX
3.7 and if so then can you supply a small sample code that I can compare to
mine and test to see if I can get it working?

Thanks. 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587991.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Neil Sleightholm
I believe I have fixed this with the extended BA I wrote and then I applied the 
same code to WiX 3.8 - so the options would be to use WiX 3.8 or the extended 
BA but reading Phil's comments regarding Windows 8 there may be more to it.

From my testing I thought I had the correct solution but I am wondering if 
there is another wrinkle - this language stuff is not easy. It has always been 
a problem in the UK as Microsoft think that Americans speak English :-)

Neil

-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: 13 August 2013 22:01
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

Neil, thanks for pointing out what the code does.

I am running WiX 3.7 on Win 7 64 bit the problem is that when I have the System 
OS set to French, the current language that I have been testing, and run the 
burn wrapper .exe the burn UI will only appear in English.

When I add the -lang 1036 to the command line then the burn UI and license file 
will correctly show in French.

Now looking at Phill's latest comments I also set the English UI strings in the 
payload as well as on the bal element entries. The main sections of code shown 
below:

BootstrapperApplicationRef
Id=WixStandardBootstrapperApplication.RtfLicense
bal:WixStandardBootstrapperApplication
   
LicenseFile=$(var.PROJECT_ROOT)\EULAs\Toolkit\en\License.rtf
ThemeFile=CustomUI\RtfTheme.xml
   
LocalizationFile=$(var.PROJECT_ROOT)\EULAs\Toolkit\en\RtfTheme.wxl
LogoFile=table_toolkit_app_for_WiX.png /

PayloadGroupRef Id=RtfTheme_licenses/
PayloadGroupRef Id=RtfTheme_Strings/
/BootstrapperApplicationRef

So if there is a bug in WiX 3.7 that corrects for this and therefore works in 
3.8 then we'll have to look into upgrading, but if there is a fix for 3.7 or 
something that I am missing to get the Burn UI to correctly show in the System 
Language then I would appreciate the help.

So if you have this working on serveral languages then were you using WiX
3.7 and if so then can you supply a small sample code that I can compare to 
mine and test to see if I can get it working?

Thanks. 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587991.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread Neil Sleightholm
I think Windows 8 might be introducing a new variant, I have only tested 
Windows XP and 7. 

In the past I have only tested local language variant by installing the local 
OS version (this is not WiX specific I have done a lot of UI localisation). Now 
with the multi-language OS option in Windows 7 it has made things harder - it 
is not 100% clear to me how you change to a new language; is changing the 
display formatting all? I would have thought that just saying I want German 
number and currency format doesn't mean I want German language, I might just be 
an English speaker in Germany. The location option in Windows 7 also adds 
another variant. 

Neil

-Original Message-
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: 13 August 2013 21:39
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

OK I unravelled the Windows 8 configuration issue.  This test system I thought 
was configured for German and English and I thought that I was setting both the 
System Default and the User Default to 1031 for these tests.  I would change 
the order of the list under Language Preferences (based on various Internet 
statements to the effect that the top item in the list is the User Default).  
Not true, well at least not always true.

On the Language Preferences dialog, click on the bottom item on the left panel, 
'Change date, time or number formats' (and no clue that this is where you set 
the User Default Language ID).  The top item in that dialog was set to 'Match 
selected display language (recommended)'  So one can change that setting and 
set a specific language (German) and then the call in burn does return 0x407, 
rather than always English.  

But why did ''Match selected display language (recommended)' not work?  Back to 
the Language Preferences dialog and eventually I noticed that both the English 
and German keyboard layouts were installed, but the German display language was 
not installed.  So I installed it.

Now the behavior is that the Wix setup runs in the Language that is at the top 
of the Display Language list, and not necessarily the language the user 
currently has selected (as the Windows 8 Match selected display language
implies).

So to summarise, after moving to WiX 3.8, the UsersDefaultLanguageID does 
control the displayed language of my bundle (if I do not use -lang ) AND on 
Windows 8 a user might be confused, but the underlying API is returning the 
Default so this does not appear to be a Wix behavioral issue.

With that said, I wonder if there is still a problem with the Wix 3.8 
implementation (or documentation) for a project in which the WixStdbaThemeWxl 
file is not located in a folder of 1033, and yet matches the UserDefaultLangID, 
it fails to use that thm.wxl file.  Most examples that I have seem show adding 
other languages in there own lcid\thm.wxl file, but they do not necessarily 
make the point that the 'default' or English file also MUST be in a 1033 
folder, for this code to make use of the file.
 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587990.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-13 Thread TimM
Thanks Neil,

Before I look at moving over to 3.8 could you let me know what I would have
to do to use the extended BA to test how that works with 3.7. Basically what
changes do I have to make and if there are any files I have to be editing to
actually make it work?

I have not done alot of Win 8 testing, but with the sound of it it looks
like I'll have to start soon as we are releasing many projects that support
multiple languages and therefore I better make sure we do not have issues
with our current WiX installers.

Tim



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587998.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users