Installer without icon resource: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(<highlight-nsis>) |
|||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
* Because the Icon Resource adds additional overhead to any installer using it | * Because the Icon Resource adds additional overhead to any installer using it | ||
== How do | == 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: | You'll find the easiest known method on the second page of the forumthread, but i'll post it here again: | ||
Latest revision as of 08:15, 20 May 2008
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.