jedwards
12th July 2005 15:12 UTC
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
Afrow UK
12th July 2005 15:52 UTC
You could probably set the icon to an icon file on the system using the System pugin (through a Windows function call).
-Stu
jedwards
12th July 2005 16:22 UTC
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
Afrow UK
12th July 2005 17:10 UTC
I'll have a go.
-Stu
Afrow UK
12th July 2005 18:24 UTC
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