Set the additional information in the installer file in Japanese

Page updated :

Environment

Visual Studio
  • Visual Studio Community 2017
  • Visual Studio Community 2019
WiX Toolset
3.11.2

※ Works in other versions, but is unconfirmed

At first

The installer file can contain producers, tags, comments, and so on. By default, you can only enter English, and even if you enter Japanese, you will get an error at the time of the build.

Here you can set up so that you can enter Japanese. It also describes each additional information that can be set in the installer file.

Pre-preparation

  • Assume that you have created an installer in WiX.

Edit Product.wxs (Japanese setting)

When you open the project in Visual Studio, open the Product.wxs file. Set the following parameters:

Wix/Product/@Language

Code that identifies the display language of the product. 1033 is an English speaking country. 1041 if you want to use Japanese. For code in other languages, please find out about locale ID number (LCID).

It is not related to the wizard screen at the time of installation, but it affects the language of the installation file itself. If you don't use Japanese for the author's name or description, you can leave it at 1033, but you need to set it to 1041 if you want to use Japanese.

<Wix>
  <Product Language="1041" />

Wix/Product/Package/@Languages

The language of the installer itself. If you want to put Japanese in the text of the installer, specify "1041".

<Wix>
  <Product>
    <Package Languages="1041" />

Wix/Product/Package/@SummaryCodepage

If you want to put Japanese in the text of the installer, specify "932". Setting up code pages such as Unicode may seem more versatile, but unfortunately you can't.

<Wix>
  <Product>
    <Package SummaryCodepage="932" />

Wix/Product/Package/@Keywords

Set to "tag" in installer file.

<Wix>
  <Product>
    <Package Keywords="ゲーム、インストーラー" />

image

Wix/Product/Package/@Description

Set to subject in the installer file.

<Wix>
  <Product>
    <Package Description="リトルセイバー 体験版 インストーラー" />

image

Wix/Product/Package/@Comments

It is set to "Comments" in the installer file.

<Wix>
  <Product>
    <Package Comments="リトルセイバー体験版のインストーラーです。" />

image

Wix/Product/Package/@Manufacturer

Set to Author of installer file. It takes precedence over Wix/Product/@Manufacturer.

<Wix>
  <Product>
    <Package Manufacturer="ソーサリーフォース" />

image

Wix/Product/MajorUpgrade/@DowngradeErrorMessage

This message is the message that appears when you start the old installer with a newer version of the application already installed. ProductName is replaced by the product name.

<Wix>
  <Product>
    <MajorUpgrade DowngradeErrorMessage="すでに新しいバージョンの [ProductName] がインストールされているため、インストールを中断します。" />

image