- NSIS Discussion
- Uninstaller icon size mismatch
Archive: Uninstaller icon size mismatch
bensinc
23rd January 2003 16:44 UTC
Uninstaller icon size mismatch
I've seen this discussed here before, but none of the replies had a good solution.
When I create an installer without an uninstaller, it works fine with the icon I chose for the installer. When I try and generate both an installer and uninstaller, it complains. Both icons contain a single icon that is 32x32 with 256 colors. I tried using the exact same icon for both, and it still complains about the mismatch.
What is mismatched? Both icons are identical.
kichik
23rd January 2003 17:34 UTC
Are you using the Modern UI? If so:
http://forums.winamp.com/showthread....light=mismatch
If not, plesae attach your script and icons (in a zip file).
bensinc
23rd January 2003 19:37 UTC
Here are are my script and icons. The script now uses the !defines for the icons, but it still complains about the icon size mismatch.
Thanks!
Joel
23rd January 2003 20:19 UTC
Try this...
Ok, this might work:
bensinc
23rd January 2003 20:31 UTC
That did the same thing, unfortunately.
Joel
23rd January 2003 20:39 UTC
Change in the part of the declare of the uninstaller icon:
define MUI_UICON
with:
!define MUI_UNICON
:)
bensinc
23rd January 2003 20:51 UTC
That did the trick. Thanks!
NSIS is the best install system I've used yet. I previously used InstallAnywhere to install a JRE and my Java application. Now I use NSIS with a custom Java launcher. It works much better!
Joel
23rd January 2003 20:53 UTC
glad to help..... :P
mattibbals
22nd May 2003 23:12 UTC
Hi,
I am having a problem similar to the one described here but I can't seem to also replicate the solution.
I have 2 Icons that are both 32X32 and 256 Colors. I want to use one for the install Icon and one for the uninstall icon. I keep getting the error "installer, uninstaller icon size mismatch".
I tried pasting the code:
!define MUI_ICON "XIcon.ico"
!define MUI_UNICON "UninstallXIcon.ico"
into the Basic.nsi example (on the first line) and I got the same error.
I checked the format of the icons by opening them up with Visual Studio .NET and checking the properties. Is there another way to check that might reveal more information?
I am using NSIS v2.0b3
Thanks in advance for any help!
Joel
22nd May 2003 23:22 UTC
can you please attach in zip format your icons and script,
maybe that way I can tell you the problem.
mattibbals
23rd May 2003 00:13 UTC
Here are the icons and the basic.nsi script that I made modifications to.
Thanks a lot for your quick response!
Joel
23rd May 2003 00:40 UTC
Hi mattibbals! :)
1. The size aren't the same, they must be in the same KB size
and color depth:
a) Xicon.ico = 7.59 KB
b) UninstallXicon = 13.8 KB
2. Update your Nsis CVS, I modify a line:
a) We don't need this line: !insertmacro MUI_SECTIONS_FINISHHEADER
3. Get also a cool Icon editor, like Microangelo.
I modify your icons, now are in the same depth and size.
Attaching your new script and Icon set
also with you compiled script ;)
smooth :D
mattibbals
23rd May 2003 01:06 UTC
Muchas gracias amigo Lobo Lunar!
Joel
23rd May 2003 01:15 UTC
[spanish]
De nada, viejo...un placer ayudarte :D
[/spanish]
[English]
For nothing, dude... cool that I can help you :D
[/English]