|
|
#1 |
|
Junior Member
Join Date: Jan 2003
Posts: 4
|
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. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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). NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2003
Posts: 4
|
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! |
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Ok, this might work:
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jan 2003
Posts: 4
|
That did the same thing, unfortunately.
|
|
|
|
|
|
#6 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Change in the part of the declare of the uninstaller icon:
define MUI_UICON with: !define MUI_UNICON
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jan 2003
Posts: 4
|
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! |
|
|
|
|
|
#8 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
glad to help..... :P
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Apr 2003
Posts: 12
|
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! |
|
|
|
|
|
#10 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
can you please attach in zip format your icons and script,
maybe that way I can tell you the problem. * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. Last edited by Joel; 22nd May 2003 at 22:40. |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Apr 2003
Posts: 12
|
Here are the icons and the basic.nsi script that I made modifications to.
Thanks a lot for your quick response! |
|
|
|
|
|
#12 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
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
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Apr 2003
Posts: 12
|
Muchas gracias amigo Lobo Lunar!
|
|
|
|
|
|
#14 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
[spanish]
De nada, viejo...un placer ayudarte ![]() [/spanish] [English] For nothing, dude... cool that I can help you ![]() [/English] * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|