(Go to) Inno Setup (2) -- modify the image during installation

Source: Internet
Author: User

This article Reprinted from: http://blog.csdn.net/augusdi/article/details/8564793

Modify the image during installation

After compilation, the image displayed on the left during the installation process looks like this:

You can also modify it. You only need to make a slight modification in the setup section and add a line of code:

[Setup]

Appname = test

Appvername = test

Defaultdirname = "E: \ test"

Appversion = 1.0

Wizardimagefile1_dh.bmp

 

[Files]

Source: "F: \ Desktop \ ipmsg.exe"; destdir: "{app }"

Note that the bold line above is the code for setting the image. The image must be placed in the same directory of the script file. If not, the complete path must be provided and the BMP bitmap must be provided, the Manual specifies that the maximum image size is 164x314 pixels, but it does not seem to be a problem if it is slightly larger. The effect is as follows:

The location of another image is also described, that is, a small image in the upper-right corner of the window will appear during installation:

 

The corresponding item of this small image is wizardsmallimagefile. the maximum size of this image is 55x58 pixels. The modification method is similar to the above. The following figure shows the modified effect:

Related Article

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.