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

前端 未结 3 1304
夕颜
夕颜 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

    It sounds like the protection application is verifying that the contents of the file haven't been tampered with. Injecting an icon is definitely a form of tampering, and unless the protection software is updated to ignore it, it will always fail. Alternatively if you own the protection software you could update it to not strip the icons.

提交回复
热议问题