- NSIS Discussion
- icon issues
Archive: icon issues
statblaster
19th July 2004 21:24 UTC
icon issues
i am setting the icon by using the following code:
Icon "bin\fuse.ico"
in both the installer and uninstaller. its 16 x 16, why am I getting the following error?
"Error finding icon resources: installer, uninstaller icon size mismatch - see the Icon instruction's documentation for more information -- failing!
Error - aborting creation process"
Freezerman350
19th July 2004 21:42 UTC
in general use this
!define MUI_ICON ".\graphics\Icone.ico"
!define MUI_UNICON ".\graphics\Icone.ico"
Yathosho
19th July 2004 21:46 UTC
make sure the icons have the same color-depth. you find help on this in multiple forum-posts, just use the search feature.
Originally posted by Freezerman350
in general use this
!define MUI_ICON ".\graphics\Icone.ico"
!define MUI_UNICON ".\graphics\Icone.ico"
not correct, this syntax is only used for installers with MUI.
statblaster
19th July 2004 22:01 UTC
icons
im using the same icon for both. theres no reason why it wouldnt match itself. any suggestions?
Yathosho
19th July 2004 22:05 UTC
can you attach your icon?
statblaster
19th July 2004 22:14 UTC
of course, here you go...
Joel
20th July 2004 00:06 UTC
Maybe the problem is no the icon,it's the script.
Any chances that you can post part of it?
statblaster
20th July 2004 00:12 UTC
im just using this...
Icon "bin\fuse.ico"
Joel
20th July 2004 03:16 UTC
Ok, if so, then the problem can be the path.
Be sure that the icon is there.
statblaster
20th July 2004 03:40 UTC
wouldnt the error say "file not found" if it wasnt there?
Anders
20th July 2004 04:18 UTC
Icon "bin\fuse.ico"
UninstallIcon "bin\fuse.ico"
statblaster
20th July 2004 16:04 UTC
that worked, thank you sir. I didnt have the UninstallIcon in the uninstall section, just had Icon.
my b.