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: