[wix-users] Multi-language installer - custom bootstrapper

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Feb 26 15:04:18 PST 2020


WixStdBA already has localized strings for its install dialogs.  And the UI is localizable. If you roll your own and it’s just a “launcher” for your MSI, how would expect ARP to remember this selection for updates / uninstalls?


From: viharika reddy [mailto:viharikareddygopu at gmail.com]
Sent: Wednesday, February 26, 2020 3:39 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Multi-language installer - custom bootstrapper

Hi Jacob,

>>>> If you're already creating a bundle, why are you worrying about the MSI?
I am not creating the bundle here. I am creating a simple bootstrapper application (my own) which launches the MSI based on the language selection. Is Wix bundle has the capability to display language selection and launch the MSI accordingly?

>>>> Are these installer localizations or localizations on the installed application?
These are installer localizations. During installation, if I select Japanese language in Windows English locale OS, the MSI dialog text should be in Japanese. The MSI dialog text should be based on the language selection by the user and not based on the OS locale.

Please let me if you need more information. And correct me if I am wrong.

-Viharika
On Wed, 26 Feb, 2020, 11:40 PM Hoover, Jacob, <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>> wrote:
If you're already creating a bundle, why are you worrying about the MSI?  Are these installer localizations or localizations on the installed application?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>] On Behalf Of viharika reddy via wix-users
Sent: Wednesday, February 26, 2020 9:24 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: viharika reddy <viharikareddygopu at gmail.com<mailto:viharikareddygopu at gmail.com>>
Subject: [wix-users] Multi-language installer - custom bootstrapper

Hi,

I would like to know whether I am following a right approach or not to create a multi-lang installer(English and Japanese). I am following below approach.

*Package creation:*

   1. Default language is set to English in my product.wxs file.
   2. Creating the msi package
   3. Creating Japanese localized msi package using "-dcodepage=932" and
   "-cultures:ja-JP" options.
   4. Generating a transform file (1041.mst) using torch by passing the
   above two msi packages(English and Japanese)
   5. Creating a simple bootstrapper application with language selection
   dialog. Now my package contains
      1. msi package
      2. 1041.mst file (japanese) and
      3.  setup.exe (bootstrapper)

*Note*: I am not including Japanese msi in my package

*Installation:*

   1. setup.exe displays a lang-selection dialog upon its launching.
   2. If user selects "English" then msi will be launched as "msiexex /i
   product.msi"
   3. If user selects "Japanese" then msi will launched as "msiexe /i
   product.msi 1041.mst"


Could please confirm that I am following a right process here to create a multi-language installer? Please let me know if there is any better approach or any drawbacks in my current process.

-Viharika

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.


More information about the wix-users mailing list