Using Resource Hacker for changing the icon after the build
This question is written in several places (like here and here ). In the second question there is a comment that says to use ResHacker.exe -addoverwrite "Project.exe", "Project.exe", "ProgramIcon.ico", ICONGROUP, MAINICON, 0 I also tried using -modify instead of -addoverwrite ResHacker.exe -modify "Project.exe", "Project.exe", "ProgramIcon.ico", ICONGROUP, MAINICON, 0 but the result is the same. The icon is changed: if I right click on the exe file and check the properties I see that the icon has been changed, but in Windows Explorer I still see the old icon. If I open it with Resource Hacker