0

I have created a python application and created a .msi installer for it to work and get installed on other machines. I would like to know how can the user change the language during the installation. ie the localization of msi.

2 Answers2

0

You don't mention what tool you plan on using to create your .MSI. Here's a couple options:

Run-Time Language Support in InstallShield

WiX Burn Bootstrapper Localization

Community
  • 1
  • 1
Christopher Painter
  • 54,556
  • 6
  • 63
  • 100
0

A lot of this seems to be a question about how bdist_msi works, and it seems to be a tool that nobody here knows anything about. I would get some clarification from that tool somehow. The docs seem non-existent to me.

  1. It might generate only one MSI in English. If so then you need to use a tool like Orca to translate the MSI text into each language and save each difference as a transform, an .mst file. Then you'd write a program that gets the language from the user and installs the MSI with a TRANSFORMS= command line that refers to the .mst file for the language.

  2. It might work like Visual Studio, where each language has its own separate MSI file. Again, you'd need a setup program asks the user what language and you fire off the appropriate MSI.

In general, there's no need to ask the user what language to use. I have seen those dialogs but I don't know why they bother. I think it's better to assume the current user language rather than show a dialog that says "Choose a language". You'd need to localise that "Choose a language" text to the user's language anyway unless you assume that everyone already understands English.

You might be able to use something like WiX Burn to package your MSI and provide localisation, not sure.

PhilDW
  • 20,260
  • 1
  • 18
  • 28