Installer without icon resource: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(posted information on topic: http://forums.winamp.com/showthread.php?s=&threadid=255618) |
(added category) |
||
Line 14: | Line 14: | ||
Of course you may need to adjust the path you installed ''Resource Hacker'' to. | Of course you may need to adjust the path you installed ''Resource Hacker'' to. | ||
[[Category:Code_Examples]] |
Revision as of 19:13, 17 September 2006
This is a "HowTo" to create an Installer that has no icon resource.
Why that?
- Because you might want to let your User's System decide what icon to show, see this forumthread: [1]
- Because the Icon Resource adds additional overhead to any installer using it
How do i do that?
You'll find the easiest known method on the second page of the forumthread, but i'll post it here again:
First, download and install Resource Hacker [2] to your system.
Then add this compile time command line at the end of your .nsi script:
!packhdr "exehead.tmp" '"C:\Program Files\ResHack\ResHacker.exe" -delete exehead.tmp, exehead.tmp, icongroup,103,'
Of course you may need to adjust the path you installed Resource Hacker to.