3

I'm aware of this answer: How can I replace icons of an application's executable?

And that answer: https://stackoverflow.com/q/14370553/261217

I've tried Resource Hacker, Resource Hacker FX, XN Resource Editor and several other resource editors I cannot even remember. They all are discontinued for now and they all produced broken exe file. No matter whether I use a new icon or edit an embedded one. Is there any modern tool I can use for this task, which will not produce broken exe? I'm looking for solution for Windows 7 x64, for 32-bit application.

And here is my exe: https://www.dropbox.com/s/cr3fm1yl5ukfc7c/KeysRemapper.exe?dl=0. I'm trying to replace the second icon (green letter S).

einpoklum
  • 10,666
Mikhail
  • 272

1 Answers1

3

The file is packed using UPX, an executable compressor.

You might want to unpack it first and then try resource editing tools like Resource Hacker FX, PE Explorer or ResEdit, etc.

You can unpack the executable (if it's not obfuscated) using the following command:

upx -d -o unpacked_filename.exe input_filename.exe

I've tried this, and it worked for me:

  1. Replacing the icon resource on the unpacked EXE: UPX unpacked EXE editing using Resource Hacker FX
  2. The result:

Icon resource replaced

Vinayak
  • 10,885