Hello,

Thanks Arife.

I already use below method to localized my Burn UI. But I need to localized 
Progress message which is display on progress bar.

So, I need to localize DisplayName in MSIProperty in Chain. You have any 
Idea.

Thanks,

Mrugesh Patel


-----Original Message----- 
From: Arife Kurt
Sent: Tuesday, March 17, 2015 3:03 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Burn MsiPackage DisplayName property does 
notlocalized

Hello Mrugesh ,

You can create a new .wxl file ( project in Visual Studio's Solution
Explorer and select Add | New Item | WiXLocalization File With WiX -->
localization files (.wxl) )
for example : for english  : en-us.wxl

<?xml version="1.0" encoding="utf-8"?>
<WixLocalization
Culture="en-us"
Codepage="1252"
xmlns= «http://schemas.microsoft.com/wix/2006/localization»>
<String Id=»ProductName»>A Software</String>
<String Id=»Comments»>(c) All rights reserved</String>
<String Id=»InstallButtonText»>Install</String>
</WixLocalization>



http://stackoverflow.com/questions/11250597/creating-localized-wix-3-6-bootstrappers

There are several things going on here:

   1.

   If you use multiple Cultures, you can't use TargetPath in something
   outside MSBuild that expects a single filename. As you found, TargetPath 
is
   a list of the localized files that were built. However, you can use
   TargetPath if you qualify the .msi package's output language: <MsiPackage
   SourceFile="$(var.TestMsi.en-US.TargetPath)" Id="MsiEnUs" />
   2.

   If you want to create one bootstrapper that can install either/both
   en-US and fr-FR, you'll need to list each .msi package separately in its
   own MsiPackage element.
   3.

   If you want to create two bootstrappers, one en-US and one fr-FR, you'll
   need to invoke the bootstrapper .wixproj twice, once for each language.
   Bootstrappers don't support the Cultures "trick" -- it's problematic to
   produce two outputs from a single invocation of MSBuild (witness the
   TargetPath problem).

If you're using WixStandardBootstrapperApplication, it automatically tries
to localize the UI based on the user UI language, falling back to the
system UI language, and finally falling back to English. It looks for
localized strings in directories named after the LCID, so you'd have
payloads like this:

<Payload Name="1033\thm.wxl" SourceFile="..." /><Payload
Name="1036\thm.wxl" SourceFile="..." />

Unfortunately, WixStandardBootstrapperApplication strings are currently
available only for en-US. That's why an fr-FR bootstrapper shows UI in
English. You'd need to localize the WiX source file HyperlinkTheme.wxl or
RtfTheme.wxl (depending on which theme you use). Both of these files are in
src\ext\BalExtension\wixstdba\Resources.

Then :BootstrapperApplicationRef

<BootstrapperApplicationRef 
Id="WixStandardBootstrapperApplication.RtfLicense">
      <Payload Name="2052\thm.wxl" SourceFile="2052\thm.wxl"
/></BootstrapperApplicationRef>





Best Regards,

Arife Kurt Keçeci.






2015-03-16 16:05 GMT+02:00 Mrugesh Patel <mrugesh.pa...@tatvasoft.com>:

> Hello,
>
> I want to know how to localized DisplayName Property in Burn MsiPackage. I
> tried but not success.
>
>         <MsiPackage
>             Id="Setup"
>             SourceFile="..\Release\Setup.msi"
>             Vital="yes"
>             DisplayInternalUI="yes"
>             ForcePerMachine="yes"
>             InstallCondition="VersionNT>=v6.0 AND VersionNT64"
>             DisplayName="!(loc.PerformingActionOnCMS)">
>       </MsiPackage>
>
> Thanks in advance.
>
> Mrugesh Patel
>
> ------------------------------------------------------------------------------
> 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
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Arife Kurt Keçeci
------------------------------------------------------------------------------
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
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
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to