Yathosho
9th June 2005 13:50 UTC
Multiple Icons?
i'd like to associte my installer with certain file-types, preferably using an other icon than my installer's. is it possible to add an Icon Group to a NSIS UI or will it lead to a compilation error? any other possibilities except using external icons? can i use the space reserved for the uninstaller icon?
JohnDuran
9th June 2005 15:11 UTC
I'm not sure that you mean. An installer can't be associated
to another file-type as it will always be an exe-file.
However you can add Icons or Icon-Groups simply with File and
refer to them externally e.g. from the registry.
Regards,
John
Yathosho
9th June 2005 18:04 UTC
i'm speaking of icon resources in an UI
kichik
9th June 2005 20:03 UTC
You can add the icons using Resource Hacker command line options and !packhdr. I don't think it should create any problems with the main icon as long as the id is different.
Brummelchen
9th June 2005 22:12 UTC
the installer works after editing the icon file in it ?
i dont think so ...
but it is possible to link to other symbols (icons) in a link (lnk file) or the uninstaller section in windows or by connecting to specific file types "defaulticon", eg. @="myicon.dll,1"
kichik
10th June 2005 10:22 UTC
Why wouldn't it work?
Yathosho
8th August 2006 23:28 UTC
just for the record, it works using
!packhdr "$%TEMP%\exehead.tmp" "ResHacker.exe -addoverwrite myInstaller.exe, $%TEMP%\exehead.tmp, myIcon.ico, icongroup,104,1033"
for unknown reasons, the language is not set to 1033 for the resource.
Mark Nascimento
9th August 2006 05:50 UTC
When I click a WAV file, it opens WINAMP and WINAMP chooses the icon for the WAV file.
Anders
9th August 2006 16:33 UTC
Originally posted by Mark Nascimento
When I click a WAV file, it opens WINAMP and WINAMP chooses the icon for the WAV file.
http://msdn.microsoft.com/library/de...s/fa_verbs.aspYathosho
9th March 2007 21:50 UTC
Originally posted by Yathosho
just for the record, it works using
!packhdr "$%TEMP%\exehead.tmp" "ResHacker.exe -addoverwrite myInstaller.exe, $%TEMP%\exehead.tmp, myIcon.ico, icongroup,104,1033"
for unknown reasons, the language is not set to 1033 for the resource.
this for some reason doesn't work anymore since 2.23 or 2.24, the compiler does not add any icons. also for my previously descibed problem, could it be i need to change the quoting to make it work properly?
Brummelchen
9th March 2007 22:14 UTC
omg dude - why such complicated...
use an icon packager - the rest is bullshit.
Use aicon for free and good - one of the best freeware
for symbols... http://www.towofu.net/soft/e-aicon.php
!define MUI_ICON "my_icon.ico"
!define MUI_UNICON "my_icon.ico"
reshacker is old and crappy for some reasons
Yathosho
10th March 2007 00:19 UTC
brummelchen: i don't see how your posting is related at all!
anyway, i could solve it