Hmm,
  In your  bundle change the destination file name to mbapreq.wxl.  The loc 
probing code is looking for a file with the same name in the loc specific sub 
folder.

On a side note, if you were willing to contribute these files, then the next 
release would probably have them by default.

-----Original Message-----
From: mvd1 [mailto:ma...@costar.ca] 
Sent: Tuesday, July 02, 2013 12:33 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated

The good news is that the correct .wxl files ARE present in the "GUID"\.ba1\ 
folder.  I am providing 3 .wxl files for 1033, 3084 and 4105 LCID's.  there are 
quite a few LCID folders, but these 3 have the expected .wxl files.  The bad 
news is that though I have the Windows XP system's regional settings set to 
French (Canada) (LCID 3084) and though the correct .wxl file is present, it is 
actually displaying the contents of the 1033 LCID .wxl file which (see below) 
is actually pulling from the mbapreq.wxl file even though I am not explicitly 
including this file in my project.

One other observation from this .ba1 folder that you have shown me:


*         The folder contains mbapreq.wxl in the root of the folder which is 
the name of the file that is the default .wxl file for the .NET prerequisite 
localizations.  However, this one contains the content of my 1033 LCID 
PreqBA.wxl (Which was originally my English.wxl).  I think this might be the 
source of the problem.  To my knowledge I am not including this file explicitly 
in my code.  I am unsure how it is grabbing the content of my .wxl file and 
sticking it in this file.  Is this by design or is it indicative of a flaw in 
my code?


From: Hoover, Jacob [via Windows Installer XML (WiX) toolset] 
[mailto:ml-node+s687559n7587007...@n2.nabble.com]
Sent: Friday, June 28, 2013 2:43 PM
To: Mark Van Dyke
Subject: Re: Burn - Localization Identifiers Duplicated

I have not personally localized a bundle.  The hints and pointers I am giving 
you are based off of the current Wix codebase.  Wix has had several generations 
of developers and the documentation is less than perfect.  (It's open source, 
so anyone is welcome to contribute more documentation / how to's).

When you start your bundle, if you look in the temp folder there should be a 
randomly created GUID folder (sort by last created) and in it a .ba1 folder. In 
it do you see your LCID sub folders along with the wxl files? If so, is their 
content unique/expected? The only other question I would have is with the .Net 
prereq UX up, by chance is there a .ba or .ba2 folder. (I just thought of this 
but the .Net UX may have its own folder to isolate it from possible file name 
colisions.)

-----Original Message-----
From: mvd1 [mailto:[hidden 
email]</user/SendEmail.jtp?type=node&node=7587007&i=0>]
Sent: Friday, June 28, 2013 3:27 PM
To: [hidden email]</user/SendEmail.jtp?type=node&node=7587007&i=1>
Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated

I have tried these suggestions too and I have, again, tried variations on them 
- all to no avail.  Here is the current iteration:

    <WixVariable Id="PreqbaThemeXml" Value="MyPReq.thm" />
    <WixVariable Id="PreqbaThemeWxl" Value="Preqba.wxl" />
    <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
      <Payload SourceFile="$(var.ProjectDir)MyPReq.thm" 
SuppressSignatureVerification="yes" />
      <Payload SourceFile="$(var.ProjectDir)en-ca\EnglishCA.wxl" 
Name="4105\Preqba.wxl" SuppressSignatureVerification="yes" />
      <Payload SourceFile="$(var.ProjectDir)en-us\EnglishUS.wxl" 
Name="1033\Preqba.wxl" SuppressSignatureVerification="yes" />
      <Payload SourceFile="$(var.ProjectDir)fr-ca\FrenchCA.wxl" 
Name="3084\Preqba.wxl" SuppressSignatureVerification="yes" />
    </BootstrapperApplicationRef>

I changed all my localization folders to be lowercase (en-us instead of en-US) 
in case something in WiX was case-sensitive.  Other than that my config is the 
same as listed in a previous post:

> Then, in my project dir I have the 3 folders en-ca, en-us, fr-ca each with 
> the appropriate .wxl file as shown above.  They are all added to my project 
> and I have tried setting the .wxl files as EmbeddedResource and as Content 
> and they are all DoNotCopy.  In the Linker I have "-cultures:en-ca 
> -cultures:en-us -cultures:fr-ca"
>
> Everything builds fine, it just displays the wrong language.

I have confirmed that it is grabbing the default Preqba.wxl file that I am 
including in the project directory.  I changed a value in it and that is what 
it displays regardless of the regional setting.  If I remove it from the 
project directory then it does not build because the file is missing.  I 
appreciate you all taking the time to help me out here and in no way is the 
next question intended as a criticism.  I notice that you have been saying 
things like, "As I understand it..." and "I think that..." etc.  Is there 
anyone out there who has actually got this to work in any project?  Any of the 
WiX development team or Rob or anyone else?

Again, I don't mean that to staunch  your suggestions, please, keep them 
coming, I will try anything at this point.  It just continues to surprise me 
that no one has a definitive answer to this.  I will be the first to 
acknowledge that I think the likeliest issue is in my code, but is this a bug 
in Burn?


From: Blair Murri-3 [via Windows Installer XML (WiX) toolset] [mailto:[hidden 
email]</user/SendEmail.jtp?type=node&node=7587007&i=2>]
Sent: Friday, June 28, 2013 1:05 PM
To: Mark Van Dyke
Subject: Re: Burn - Localization Identifiers Duplicated

As I understand it, in the Name attribute you need to use the LCID instead of 
the culture name.

For instance: <Payload 
Sourcefile="$(var.ProjectDir)zh-tw\TraditionalChinese.wxl" 
Name="1028\Preqba.wxl" ... /> where 1028 is the LCID for the culture known as 
zh-tw.

Blair

> Date: Fri, 28 Jun 2013 11:30:52 -0700
> From: [hidden email]</user/SendEmail.jtp?type=node&node=7586995&i=0>
> To: [hidden email]</user/SendEmail.jtp?type=node&node=7586995&i=1>
> Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated
>
> OK, I have tried some different variations on Blair and Jacob's suggestions.  
> None have worked and there has been varying degrees of success.  The most 
> successful correctly displayed the default Preqba.wxl entries that I have 
> defined (which are in English but my regional settings are fr-CA) but did not 
> display the French file I have defined.  I will show you the code:
>
>     <WixVariable Id="PreqbaThemeXml" Value="MyPReq.thm" />
>     <WixVariable Id="PreqbaThemeWxl" Value="Preqba.wxl" />
>     <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
>       <!-Some other unrelated payloads-->
>        .
>        .
>        .
>       <Payload SourceFile="$(var.ProjectDir)MyPReq.thm" 
> SuppressSignatureVerification="yes" />
>       <Payload SourceFile="$(var.ProjectDir)en-CA\EnglishCA.wxl" 
> Name="en-CA\Preqba.wxl" SuppressSignatureVerification="yes" />
>       <Payload SourceFile="$(var.ProjectDir)en-US\EnglishUS.wxl" 
> Name="en-US\Preqba.wxl" SuppressSignatureVerification="yes" />
>       <Payload SourceFile="$(var.ProjectDir)fr-CA\FrenchCA.wxl" 
> Name="fr-CA\Preqba.wxl" SuppressSignatureVerification="yes" />
>     </BootstrapperApplicationRef>
>
> Then, in my project dir I have the 3 folders en-CA, en-US, fr-CA each with 
> the appropriate .wxl file as shown above.  They are all added to my project 
> and I have tried setting the .wxl files as EmbeddedResource and as Content 
> and they are all DoNotCopy.  In the Linker I have "-cultures:en-ca 
> -cultures:en-us -cultures:fr-ca"
>
> Everything builds fine, it just displays the wrong language.
>
> One more thing, when I configure it this way, there is some grayed out text 
> underneath one of my labels that is slightly different.  It is difficult to 
> read as my text is superimposed on top.  This had not previously occurred.  
> It is as though it is trying to show 2 different values simultaneously for a 
> localization variable.  Hmm... only did that once.  When I ran it again it 
> was normal (as far as the grayed out text).
>
>
>
> From: Blair Murri-3 [via Windows Installer XML (WiX) toolset] 
> [mailto:[hidden 
> email]</user/SendEmail.jtp?type=node&node=7586995&i=2>]
> Sent: Wednesday, June 26, 2013 9:07 PM
> To: Mark Van Dyke
> Subject: Re: Burn - Localization Identifiers Duplicated
>
> I think that the different language WXL files need to be in different 
> subfolders named after LCIDs in burn's payload.
>
> Blair
>
>
> > Date: Wed, 26 Jun 2013 16:41:31 -0700
> > From: [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=0>
> > To: [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=1>
> > Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated
> >
> > In the bootstrapper project's Visual Studio properties, go to Tool 
> > Settings and enter the command-line args into the Linker text box.
> >
> >
> >
> > --
> > View this message in context:
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-L
> > ocalization-Identifiers-Duplicated-tp7586776p7586899.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> > --------------------------------------------------------------------
> > ---------- This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=2>
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
>
> NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/tem
> plate/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aem
> ail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.te
> mplate.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcru
> mbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3
> Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Loc
> alization-Identifiers-Duplicated-tp7586776p7586991.html
> Sent from the wix-users mailing list archive at Nabble.com.
> ----------------------------------------------------------------------
> -------- This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=7586995&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7586995&i=4>
https://lists.sourceforge.net/lists/listinfo/wix-users

________________________________
If you reply to this email, your message will be added to the discussion below:

NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Localization-Identifiers-Duplicated-tp7586776p7587006.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7587007&i=3>
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7587007&i=4>
https://lists.sourceforge.net/lists/listinfo/wix-users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Localization-Identifiers-Duplicated-tp7586776p7587007.html
To unsubscribe from Burn - Localization Identifiers Duplicated, click 
here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7586776&code=bWFya3ZAY29zdGFyLmNhfDc1ODY3NzZ8MTMzNzA0NTMxNw==>.
NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Localization-Identifiers-Duplicated-tp7586776p7587085.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to