Skip to content
Luke31 edited this page Nov 11, 2016 · 2 revisions

##WiX Toolset v3.10.3 (.msi installer)

Example project: CodeSample-Msi which installs the IronPythonCsharp project

The following official and very good WIX Tutorial is used: How To: Make your installer localizable

Hint: This Tutorial requires an already existing WiX-Installer (Windows Installer XML)-project in your solution

For information about the use of different codepages per languaeg, see: WiX - Code Pages

Important: For English you must use WixLocalization Culture="en-us" and not "en"! Else, all WixUI-element translations must be provided by yourself.

##FAQ

  • What are the Codepages and Languages?

    • Japanese (ja-jp) Language: 1041 Codepage: 932,
    • English United States (en-us) Language: 1033 Codepage: 0 (only ASCII)

    Important: Actually the Codepage of English United States is 1252, however to have a general Codepage for all systems, we select 0 which only allows ASCII-characters (128)

  • The msi-installer won't start on a Japanese system with the error "変換するときにエラーが発生しました。指定された変換のパスが有効であることを確認してください。", what to do?

    Look here: single msi-file seems to need 1033.mst transform file

    Important is, that the Package-Languages attribute must only contain the desired language and must be overriden by the WixLocalization-element:

      <Package Languages="!(loc.ProductPackageLanguage)" .../>
    

    and in english.wxl:

      <String Id="ProductPackageLanguage" Localizable="no">1033</String>
    

    and in japanese.wxl:

      <String Id="ProductPackageLanguage" Localizable="no">1041</String>
    
  • I've used the English installer, but the application is in Japanese, why?

    In this case, you are running a Japanese system. The application uses your UILanguage and not the Installer-Language