Thanks, it worked out, the problem was to create the folder structure where WPF 
bootstrapper is searching for the resources. I updated the .wsx bundle file.

From:
 <Payload 
SourceFile="$(var.BootstrapperBuildPath)de\Application.resources.dll"/>

To:
<Payload Name=" de\Application.resources.dll" 
SourceFile="$(var.BootstrapperBuildPath)de\Application.resources.dll"/>

Now it works as expected.

/ Tomas



-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: den 8 mars 2013 18:35
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to localize WiX bootstrapper

If you wrote a custom bootstrapper application then it's more a question for 
the technology you used to create the UI. You'll be better served asking on a 
forum that supports the technology, in your case it sounds like WPF.


On Thu, Mar 7, 2013 at 2:19 AM, Tomas Köhn <tomas.k...@cellavision.se>wrote:

> Hi
>
> We have created a bootstrapper in WiX for our .msi; and need to 
> localize it. I have failed to find out how to do it, any help is appreciated.
>
> I tried to do it in the same way as in WPF:
> *Before rootVisual resources is loaded, set 
> CultureInfo.DefaultThreadCurrentUICulture and 
> Thread.CurrentThread.CurrentUICulture with new CultureInfo("de-De") 
> *Created directory for German language with the translated resources 
> "de/BootStrapperApplication.resources.dll"
>
> Added the resource as a payload in Bundle.wxs together with all other 
> .dll which is used by the installer <BootstrapperApplicationRef 
> Id="ManagedBootstrapperApplicationHost">
> <Payload
> SourceFile="de\CellaVision.CRRS.Setup.Bootstrapper.Application.resourc
> es.dll"/>
> ...
>
> How to tell the bootstrapper which resource to use?
>
> / Tomas
>
>
> ----------------------------------------------------------------------
> -------- Symantec Endpoint Protection 12 positioned as A LEADER in The 
> Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in 
> the endpoint security space. For insight on selecting the right 
> partner to tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the 
endpoint security space. For insight on selecting the right partner to tackle 
endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to