IExpress - create exe with custom icon

exe, icons, iexpress

Solution

Try Resource Hacker. It worked here with a test IExpress installer.

Step-by-step instructions:

Create your IExpress package as normal.

Launch Resource Hacker, then open your IExpress-generated executable.

In the Action menu, choose Replace Icon …

Open the file that contains the icon you want to use, then click Replace.

Save the file in Resource Hacker. This will get you two files:

- Your new file: `package.exe`

- Your original file: `package_original.exe`

If the icon for `package.exe` looks wrong on your computer, this is expected behaviour due to the old icon being cached by Explorer. To clear the icon cache, you can execute:

ie4uinit.exe -show

(This will only be a problem on the computer that you used to edit the file; other computers should show the correct icon straight away.)

Problem

With the help of IExpress I created an exe from a bat file and would like to set a custom icon for the exe. Is this possible? Regards

Original source