Inno Setup Introduction (vii)--Provides installation language options

Source: Internet
Author: User

There is a languages folder in the Inno Setup directory, which provides a language for use, which can be implemented by adding a [languages] segment to the script, which implements the following code:

[Setup]

Global settings, this paragraph must be

Appname=test

Appvername=test

Defaultdirname= "E:\TEST"

appversion=1.0

Compression=lzma2/max

Showlanguagedialog=yes

[Languages]

Name: "EN"; Messagesfile: "COMPILER:DEFAULT.ISL"

Name: "CS"; Messagesfile: "COMPILER:LANGUAGES\CHINESESIMP.ISL"

[Files]

Source: "F:\desktop\test\ipmsg.exe"; DestDir: "{app}";

Source: "F:\desktop\test\bin.dat"; DestDir: "{app}"

Source: "F:\desktop\test\help.chm"; DestDir: "{app}"

Source: "F:\desktop\test\readme.txt"; DestDir: "{app}"; Flags:isreadme

In the above example, it is necessary to add Showlanguagedialog=yes in the [Setup] section, which is not even possible because the Showlanguagedialog default is yes.

During the installation process, different language interfaces will be used depending on the user's choice:

The last point to note is compiler: he provides the path to the directory where the compiler resides.

Inno Setup Introduction (vii)--Provides installation language options

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.