Hmm, have you tried debugging into the code? It seemed to work in my tests.
Maybe there is something different about the locale settings on your OS?

On Tue, Sep 25, 2012 at 1:32 AM, Harald Dersch <harald.der...@vasco.com>wrote:

> If the payloads weren't laid out correctly, shouldn't selecting the
> language explicitly via -lang fail as well (as I wrote, this works
> perfectly)?
>
> Since the official WiX documentation describes localizing the standard
> bootstrapper application rather sparsely, the layout may be indeed not
> correct. Here is the respective snippet from my wxs:
>
>
>   <?xml version="1.0" encoding="UTF-8"?>
>   <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; xmlns:bal="
> http://schemas.microsoft.com/wix/BalExtension";>
>
>     <Bundle ... >
>       <WixVariable Id="WixStdbaThemeXml" Value="Resources\layout.xml"/>
>       <BootstrapperApplicationRef
> Id="WixStandardBootstrapperApplication.RtfLicense">
>
>         <bal:WixStandardBootstrapperApplication
> LogoFile="Resources\Welcome.png" LicenseFile="Resources\1033\license.rtf"
> SuppressOptionsUI="yes" />
>
>         <Payload Compressed="yes" Id="thm-de-DE" Name="1031\thm.wxl"
> SourceFile="Resources\1031\thm.wxl" />
>         <Payload Compressed="yes" Id="thm-en-US" Name="1033\thm.wxl"
> SourceFile="Resources\1033\thm.wxl" />
>         <Payload Compressed="yes" Id="thm-fr-FR" Name="1036\thm.wxl"
> SourceFile="Resources\1036\thm.wxl" />
>         <Payload Compressed="yes" Id="thm-nl-NL" Name="1043\thm.wxl"
> SourceFile="Resources\1043\thm.wxl" />
>
>         <Payload Compressed="yes" Id="lic-de-DE" Name="1031\license.rtf"
> SourceFile="Resources\1031\license.rtf" />
>         <Payload Compressed="yes" Id="lic-en-US" Name="1033\license.rtf"
> SourceFile="Resources\1033\license.rtf" />
>         <Payload Compressed="yes" Id="lic-fr-FR" Name="1036\license.rtf"
> SourceFile="Resources\1036\license.rtf" />
>         <Payload Compressed="yes" Id="lic-nl-NL" Name="1043\license.rtf"
> SourceFile="Resources\1043\license.rtf" />
>
>       </BootstrapperApplicationRef>
>
>       <Chain>
>         <!-- List of chained packages. -->
>       </Chain>
>     </Bundle>
>   </Wix>
>
>
> The folder 'Resources' contains language-neutral resources, such as the
> layout and the background image. Within there are subfolders named like the
> respective LCID, i.e. '1033' for English, '1031' for German, ...
>
> Does this explain anything?
>
> Kind regards.
>
>
> > Or maybe your Payloads in the BootstrapperApplication are not laid out
> > correctly?
> >
> > On Mon, Sep 24, 2012 at 4:53 AM, Harald Dersch <Harald.Dersch@...:
> >
> > > Just for curiosity, I set the title string resource:
> > >
> > >   <String Id="Title">[WixBundleName] [UserLanguageID]
> > > [SystemLanguageID]</String>
> > >
> > > It says "Name 1031 1031", however the GUI is still in English. So WiX
> > > seems to totally ignore the regional settings, or the probing code is
> not
> > > correct.
> > >
> > > What's wrong here?
> > >
> > > > It probes like this:
> > > >
> > > > Root of BA\ + GetUserDefaultUILanguage()
> > > > Root of BA\ + GetSystemDefaultUILanguage()
> > > > Root of BA\
> > > >
> > > > On Fri, Sep 21, 2012 at 4:10 AM, Harald Dersch <Harald.Dersch@...:
> > > >
> > > > > Hello,
> > > > > I created a bootstrapper with WiX that includes four different
> > > > > localizations (English, German, French, and Dutch).
> > > > >
> > > > > But I actually wonder, how the bootstrapper detects and determine
> the
> > > > > language to display the UI. When the bootstrapper runs on an
> English
> > > OS,
> > > > > it's in English. When run on a German OS, it's in German. However,
> it
> > > seems
> > > > > that it totally ignores all system regional settings, i.e. if I
> run it
> > > on
> > > > > an English OS, it's in English, no matter what I set in the system
> > > > > settings. Other that using -lang (which works for all four
> > > localizations),
> > > > > I do not get another language than the original OS one.
> > > > >
> > > > > Is this a bug? Is this behavior by design? It there any
> option/setting
> > > to
> > > > > influence this? Do I have to adapt WiX source code for this?
> > > > >
> > > > > Thanks for any insights on this.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to