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

2013-08-13 Thread TimM
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


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

2013-08-12 Thread TimM
Phill/Alnoor

I had to make a few more adjustments to my code to match what you have, but
it will still only launch in English when running on a French OS. If I use
the command line option -lang 1036 then the Burn wrapper will correctly show
UI and License in French.

So how do I get it to show the UI in the language of the system OS?

Thanks.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587944.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread Phill Hogland
I am trying to solve that same issue, so I do not have a solution yet.  I was
in the process of importing the 'extended bootstrapper' and writing a
BAFunction.dll to try and get the language of the UI to be the same as the
OS UserLanguageID and also address an issue where I need to restrict which
LCIDs get passed to my MsiPackage as a name of a transform.  This morning I
got a message from the extended bootstrapper site that implied that Wix 3.8
resolves the first part of this issue and showes the bootstrapper language
based on the OS settings.  So I am now working on checking out that lead. 
Bottom line is I don't have this issue figured out yet.

Check out:
http://wixextba.codeplex.com/




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587946.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread TimM
Okay thanks, If 3.8 does correctly detect OS language and launch Burn wrapper
in detected language then that should solve part of that issue.

As for your 2nd issue, are you talking about conditioning your MsiPackage so
that it will only use your supportted language .mst's that you need to pass
to your .msi as transforms?

If so I do have a solution that works for that. It requred me to create 2
MsiPackage entries. One that is conditioned only on the SystemLanguageID's
that I support and the other will is conditioned on SystemLanguageID not
equalling my supported languages, and therefore it will only trigger the
1033.mst.

If this was not what you meant then ignore this

Thanks,




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587948.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread Phill Hogland
Yes, we support seven languages.  If I pass UserLanguageID or
SystemLanguageID in my var LCID and then pass it as a property to the MSI
package in the form of TRANSFORMS=LCID.mst all is well for the supported
languages, however an unsupported language results in an error because the
transform does not exist.  I have two msi packages in my chan which have a
different set of 'supported' transforms.  I like your approach and will
check it out.  I added the BAFunction.dll into the project (which meant I
had to change to the extended bootstrapper), late last week.  I plan to read
the LCID var and then limit the range of LCIDs that I pass to each Msi
package.  Also if a user has a 'related' language we default to the nearest
supported language.  We support 1034 (Spanish) and when we detect Mexican or
any other variant of Spanish we default to 1034 (rather than defaulting to
English).  This is standard behavior in our existing InstallScript projects. 
So I am working on implementing similar behavior with WiX.  I am going to
try out WiX 3.8 and I may still need to do some 'custom' processing of the
property before passing it to the MSI.  But thanks for telling me about how
you used MsiPackage/@InstallCondition to address this issue.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587949.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread Neil Sleightholm
The way the language detection works in WiX is to search for a language 
matching the full language ID and if that isn't present it searches the primary 
language and then defaults to US English - so if you support Spanish but not 
Mexican then Spanish is selected. I am wondering if you could set your LCID for 
the transform to a value from the burn localisation file, that way the fall 
back would work as you expect.

Neil

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

Yes, we support seven languages.  If I pass UserLanguageID or SystemLanguageID 
in my var LCID and then pass it as a property to the MSI package in the form 
of TRANSFORMS=LCID.mst all is well for the supported languages, however an 
unsupported language results in an error because the transform does not exist.  
I have two msi packages in my chan which have a different set of 'supported' 
transforms.  I like your approach and will check it out.  I added the 
BAFunction.dll into the project (which meant I had to change to the extended 
bootstrapper), late last week.  I plan to read the LCID var and then limit the 
range of LCIDs that I pass to each Msi package.  Also if a user has a 'related' 
language we default to the nearest supported language.  We support 1034 
(Spanish) and when we detect Mexican or any other variant of Spanish we default 
to 1034 (rather than defaulting to English).  This is standard behavior in our 
existing InstallScript projects. 
So I am working on implementing similar behavior with WiX.  I am going to try 
out WiX 3.8 and I may still need to do some 'custom' processing of the property 
before passing it to the MSI.  But thanks for telling me about how you used 
MsiPackage/@InstallCondition to address this issue.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587949.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread Phill Hogland
Thanks for the idea.  I will try that.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587954.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread Phill Hogland
I assume that your (Neil's) description of the WiX language detection
behavior applies to 3.8, because I have not observed that behavior with WiX
3.7.  For me with 3.7 I always have to use -lang LCID to see any of my
supported bundle translated strings.  So far I have only tested using
Windows 8 Professional (with English and German selected by the user) and
Windows 7 Ultimate Korean.  I had decided earlier today to move to 3.8, but
with many distractions I do not have it working just yet.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587955.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] multi-language bundle - A BIG THANKS

2013-08-12 Thread Neil Sleightholm
No this also applies to 3.7 but there is a bug that means it detects the system 
language not the user language which probably explains what you are seeing. If 
you make the system language match the user selected language it works as I 
described.

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

I assume that your (Neil's) description of the WiX language detection behavior 
applies to 3.8, because I have not observed that behavior with WiX 3.7.  For me 
with 3.7 I always have to use -lang LCID to see any of my supported bundle 
translated strings.  So far I have only tested using Windows 8 Professional 
(with English and German selected by the user) and Windows 7 Ultimate Korean.  
I had decided earlier today to move to 3.8, but with many distractions I do not 
have it working just yet.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587955.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] multi-language bundle - A BIG THANKS

2013-08-02 Thread snowkoan
Hi Phil,

Glad to help, and thanks for the suggestions. It does make sense to localize
the theme itself, though I have not done so yet. Did you try it?

Alnoor



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

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2013-08-02 Thread Phill Hogland
My experiments so far do not work.  I added:

Payload Id=themeXml_de_de Compressed=yes 
Name=1031\HyperlinkTheme.xml SourceFile=theme\1031\HyperlinkTheme.xml/

And made various changes to only that xml file, but so far it has not picked
it up.  I was just starting to read through the source code, but do not have
anything figured out yet.  Anyway the big issue was getting the translated
strings int the dialog.  For some reason though, some languages don't have
enough space to say what needs to be said. :(  Not a big deal, we can make
it work.



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

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2013-08-02 Thread Phill Hogland
It looks like the answer to loading a localized xml file is here:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localized-bundle-Picking-up-the-right-files-td7265208.html

I have not tried it yet, but he is correct that I did not have the png file
in each localized folder.



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

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2013-08-02 Thread snowkoan
Cool, thanks. If worst comes to worst, I'll just fire up Process Monitor
again and watch the file system activity to see what files the bootstrapper
is looking for (and not finding.)

Somehow, that feels more fun than wading through source code.

Alnoor



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

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2013-08-02 Thread Phill Hogland
Well I got it working.  As posted earlier I added a modified
HyperlinkTheme.xml to my 1031 subfolder, and originally I added this Payload
statement:


Payload Id=themeXml_de_de Compressed=yes  Name=1031\thm.xml
SourceFile=theme\1031\HyperlinkTheme.xml/


The bundle project builds but when run it does not display any dialog and
the log file shows error creating the main window (as reported in the other
thread referenced).

The correct solution at that point is to add the logo.png file to the 1031
folder and add:
Payload Id=logo_de_de Compressed=yes  Name=1031\logo.png
SourceFile=theme\1031\logo.png/

Now when -lang 1031 is used the dialog has the changes which were made in
the 1031 version of the XML file (and in looking at the source code I did
not see anything that would select the language file based on the
users/systems default language.

Prior to doing the above I took the unnecessary side track of changing the
Payload to:

Payload Id=themeXml_de_de Compressed=yes 
Name=1031\HyperlinkTheme.xml SourceFile=theme\1031\HyperlinkTheme.xml/

I can see in the code where it is expecting thm.xml, but I did not read all
the way through.  What it does in ProcessMon is it tries to load
1031\Thm.xml which did not exist, and then it tries to load
1031\hyperlinkTheme.xml and seems to succeed, but the dialog does not
reflect the 1031\HyperlinkTheme.xml.  However by using the
Name=1031\thn.xml it all works.

I might also comment that prior to working with the localization I had set
my LogoFile attribute to import a .bmp file, and removed the logo.png file
from my project.  So if I go back and convert my bmp to a png file named
logo.png it might be a simpler scenario since the XML files have the
logo.png name in the XML file.

So all in all it seems to work and I can get the files translated when we
submit other projects for translation.  Thanks for the help.  Phill




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

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2013-08-01 Thread Phill Hogland
This is VERY COOL.

I am working on my first WiX bundle and was just getting to the point where
I need to get it working in JEFIGS +Ch Simplified.  I quickly implemented
the steps you posted with the one exception that I created a Payload entry
for a 1033 sub folder, which it uses by default rather than the file listed
as /@ThemeFile.  My test box is currently configured for Windows 8, English
or German.  It did not automatically select the language based on the users
Language and Region setting, which is what I eventually need.  But launching
my setup with -lang 1031 (or each of the other IDs) clearly displays my
modified localized .wxl strings for the language identified.  I did this
using HyperlinkTheme.wxl.

In my past experience with localizing (non-WiX) setup dialogs, after the
translators do their magic there is generally a need to readjust the control
sizes.  I assume that I should put the HyperlinkTheme.xml in each resource
folder for each language were layout sizes need to change, and add a
corresponding Payload element.  Something like?


Payload Id=theme_de_de Compressed=yes  Name=1031\thm.xml
SourceFile=theme\1031\HyperlinkTheme.xml/


One other note is that I originally added each theme subfolder and file to
my project in VS2010 to edit the files.  However the linker throws a ton of
duplicate symbol errors.  So for now I removed them but I assume I could add
them back into the project and change the project settings to exclude them
from the linker.  I can work on these  issues tomorrow.   Thanks ALOT for
this info.  Phill



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

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users