Inno Setup Introduction (ix)--Modify text display during installation

Source: Internet
Author: User

As mentioned above can be used in the use of language files to achieve different display, convenient and international standards, in fact, even without language files can be implemented. The [Messages] segment is used to define the messages displayed in the installer and uninstaller. It is generally not necessary to create [Messages] segments, because all messages are already contained in the DEFAULT.ISL file of Inno Setup (or the language option specified in the [Languages] segment). However, you can create your own message display interface by overwriting the default message. Open the file in the Inno Setup directory, where the button is defined as follows:

; Buttons

buttonback=< &back

Buttonnext=&next >

Buttoninstall=&install

Buttonok=ok

Buttoncancel=cancel

Buttonyes=&yes

Buttonyestoall=yes to &all

Buttonno=&no

Buttonnotoall=n&o to All

Buttonfinish=&finish

Buttonbrowse=&browse ...

Buttonwizardbrowse=b&rowse ...

Buttonnewfolder=&make New Folder

You can overwrite these messages in the [Messages] segment. An example is as follows:

[Setup]

Global settings, this paragraph must be

Appname=test

Appvername=test

Defaultdirname= "E:\TEST"

appversion=1.0

Compression=lzma2/max

Showlanguagedialog=yes

[Components]

Name:main; Description: "Main program (required)"; Types:full Compact Custom; Flags:fixed

Name:data; Description: "Data File"; Types:full

Name:help;description: "Help file"; Types:full Compact

[Files]

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

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

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

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

[Messages]

Beveledlabel=castor

Buttonnext= go ahead (&f) >

Buttonback= Back (&B) <

Buttoncancel= exit (&C)

Buttoninstall= Install it (&i)!

Buttonfinish= fix (&X) ~ ~

The results are as follows:

The special purpose of the Beveledlabel message is to specify a line of text that appears in the lower-left corner of the wizard window and the Uninstaller window, as in Castor:

Inno Setup Introduction (ix)--Modify text display during installation

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.