Archive: Modify Icon for packaged exe?


Modify Icon for packaged exe?
Is it possible to modify the icon of an exe that is packaged with the installer with nsis script at the time of install/packaging?

We have an exe that we use for multiple products that have to be branded differently and have a need to do this? I've searched around on the forums but haven't really seen anything that does this.

Thanks,

Jesse


You could probably set the icon to an icon file on the system using the System pugin (through a Windows function call).

-Stu


I found this set-exe-icons
http://www.franz.com/support/documen...-exe-icons.htm

While I think this may work? I'm not sure how i'd call this function from within my installer?

Thanks


I'll have a go.

-Stu


Your best bet is to call Resource Hacker using !system.
It has some command-line switches which you can read up on in the Resource Hacker manual.

-Stu