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: