(Switch) Inno Setup entry (9) -- modify the text display during installation

Source: Internet
Author: User

This article Reprinted from: http://blog.csdn.net/yushanddddfenghailin/article/details/17250837

As mentioned above, different display methods can be implemented using unused language files to facilitate international integration. In fact, even if there is no language file, it can be modified. The [messages] section defines messages displayed in the installer and uninstall programs. Generally, you do not need to create a [messages] segment because all messages are included in the default. isl file of Inno Setup (or the language options specified in the [ages] segment. However, you can overwrite the default message to create your own message display interface. Open the file in the Inno Setup directory. 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 and modify these messages in the [messages] segment. An example is as follows:

[Setup]

; Global settings, this section is required

Appname = test

Appvername = test

Defaultdirname = "E: \ test"

Appversion = 1.0

Compression = lzma2/MAX

Showemediagedialog = 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 = continue (& F)>

Buttonback = return (& B) <

Buttoncancel = exit (& C)

Buttoninstall = install it (& I )!

Buttonfinish = get (& X )~~

The running effect is as follows:

Beveledlabel messages can be used to specify text lines displayed in the lower left corner of the wizard window and uninstallation program window, as shown in Castor:

 

 

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.