Hi 

Our wix installer needs to be shipped in several languages. Using Wix 
localization, the output is one msi file for each language. 

To install various prerequisites (.NET framework, crystal reports, ... ) we use 
a bootstrapper that should then call the appropriate msi file depending on the 
language of the operating system. 

Right now, we are using the visual studio bootstrapper, which - in my opinion - 
does its job of installing the prerequisites unimposing and well. However, i 
have not found a way to make the installer call the proper localized msi 
depending depending on the current OS language.  (Having one msi and using 
transfrom to localize the UI would also be an option, if we can easily 
integrate all in the build process.  I believe however, the language would have 
to be passed to the msi, so in the end it is the same: The bootstrapper has to 
determine the language and then call the msi, this time instead of calling 
different files, the parameter to be passed would vary)


So far i have only seen something like this in the visual studio project file: 
<Target Name="Bootstrapper">
        <GenerateBootstrapper ApplicationFile="mySetup.msi" 
            Culture="de-DE" 
            ApplicationName="My Application" 
            OutputPath="$(OutDir)\de-DE" 
            BootstrapperItems="@(BootstrapperFile)" 
            Path="C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\Bootstrapper\Packages\" />
        <GenerateBootstrapper ApplicationFile="mySetup.msi" 
            Culture="en-US" 
            ApplicationName="My Application" 
            OutputPath="$(OutDir)\en-US" 
            BootstrapperItems="@(BootstrapperFile)" 
            Path="C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\Bootstrapper\Packages\" />
    </Target>

This would create two bootstrappers for each language, which is not what i 
intend. 
Has anybody pulled this of successfully with the Visual studio Bootstrapper?
If this is not possible we may have to change the bootstrapper :-( 

Any piece of advice concerning this issue is appreciated. 
Thanks in advance.
Dan 
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to