How to add an icon to an existing exe file (without an icon by default)?

前端 未结 3 1278
夕颜
夕颜 2021-01-13 17:16

When I was searching on Google I found a useful class which let us change the icon of any .exe file using the following line of code :

WindowsF         


        
3条回答
  •  生来不讨喜
    2021-01-13 17:51

    I just experienced the same issue with a 7zip Self-Extractor exe.

    Updating the icon of the 7zS.sfx (instead of the exe) before creating the Self-Extractor exe does the trick and the exe is not corrupted.

提交回复
热议问题