Skip to content
⌘ NSIS Forum Archive

Error finding icon resources

2 posts

Latem#

Error finding icon resources

Ok Im am just learning NSIS, so I just wanna make sure I understand something.

When I try to compile a file it gives the following error:
Generating uninstaller... 
Error finding icon resources: number of icons doesn't match -- failing!
Error - aborting creation process 
Also I declare my install/uninstall icons:
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "k.ico"
!define MUI_UNICON "delete.ico" 
So I've searched the forums, and I think I know why I am getting this error.

If I open the icons is VS and go to Image | Current Icon Image type it lists 8 different types for k.ico, and 9 for delete.ico. I just want someone to either confirm this, or tell me why I am getting this error. Is this why its failing?

I tried uploading the icons (zipped) but they are too big.

Thanx
Joost Verburg#
The icons should have exactly the same number of images with the same sizes and color depths.