Forcibly replace EXE file icon

Source: Internet
Author: User

To be honest, it is not entirely infeasible to replace the icon with an ordinary method, and of course it is not entirely feasible. This seemingly simple problem is not so easy to solve, why someone modified the EXE icon always failed, in fact, he ignored the EXE and the complexity of the icon, in a simple way can not solve the problem, most of us underestimate the EXE and the icon of the two nouns.

For the executable file, the icon extension ico, many icons on the network software can be done to the format of Jpg,bmp,gif,png image files to convert to icon format, there are many software can be directly extracted EXE or DLL files included in the icon file, Even we can make our own icons. But the icon also has its own parameters, such as size, resolution, bit depth, and the number of frames. Many of the program's icons are compressed, if you want to use an icon that has not been compressed to replace, the result is usually only two: either there is no change in the original program icon, or the icon changes, but this program will not be expected to run again, hehe! Of course there is a very unlucky situation, that is not only the icon has not changed, and the program has been destroyed ... So we usually have to make a backup of the program before we change the icon.

We use the "icon extraction" gadget to do the demonstration.

First right-click on it and select "Add to Compressed file".

In the pop-up "compressed file name and parameters" box, set the format of compressed files to "ZIP", the compression method is "storage", the compression option is "create self-extracting format compressed file."

Then select the Advanced tab. After selecting the Advanced tab, click on the "Self-extracting option" directly.

A "advanced self-extracting option" box is then set up to run the "icon extraction. exe" in the installer.

Then select the "Mode" tab, tick "Unpack to Temp folder" in temporary mode, and select "Hide All" in quiet mode.

Then select the Update tab and then overwrite all files in the override mode.

Finally select the "Text and Icons" tab, select "Load self-extracting file icon from file" in the custom self-extracting file logo and icon, click "Browse", find the icon file you want to load and open it.

Then click OK (two times) to generate a new EXE program. Look! The icon has changed, and then run the test again, is it OK to run? The answer is yes.

In this way can be applied to any EXE file, there is no change the icon, 100% applicable. In order to ensure the decompression speed, we use the compression method is the ZIP storage mode, plus the external icon loaded, so the resulting file will be larger than the original file. However, there is a problem: because there is a hidden decompression process, so the start program takes a little longer than the original program, the system automatically hides the original program to the temporary folder, when you close or quit the program, the system will automatically delete the temporary folder inside the original program, hehe, All of this was done quietly.

Forcibly replace EXE file icon

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.