Reputation: 21735
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
Upvotes: 3
Views: 10382
Reputation: 1230
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:
package.exe
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.)
Upvotes: 8
Reputation: 21735
As a workaround you can create a shortcut of the exe file and then set a custom icon to it.
Upvotes: 0