Archive: Icon mismatch...What else?


Icon mismatch...What else?
Hello once again,

I know that this problem has been reported quite a few times but no solution seems good enough. My apologies for asking again :D

I want to use a custom installation icon and as an uninstallation icon I use "modern-uninstall-blue.ico". The latter has 7 formats: 16x16x16bpp, 16x16x256bpp, 16x16x16Mbpp, 32x32x16bpp, 32x32x256bpp, 32x32x16Mbpp and 48x48x256bpp. I created my custom icon with EXACTLY the same formats. Same icons number, same order. Uninstallation icon has a size of 13.5KB but mine has a size of 12.3KB. So I guess size is the problem when I try to compile script and I get a "Icon mismatch" error. What should I do in order to make my icon the same size? Should I add more pixels to it? Than you in advance and sorry if this has been answered elsewhere :up:


do the palettes of each icon size match?


Yathosho,

The palettes of some icon formats do not match but I can't make them the same with the icon software I use. Any ideas? I tried something else and it worked. I deleted all icon formats in the "modern-uninstall-blue.ico" except the 32x32x256bpp one. I also left one icon format in my custom icon, 32x32x256bpp again. Icon sizes matched and compiling returned no error!

Also, what is the suggested icon size for best viewing in Windows explorer and Start Menu? 32x32 or 48x48? Again, thank you for your reply and any future answer!


The latter has 7 formats: 16x16x16bpp, 16x16x256bpp, 16x16x16Mbpp, 32x32x16bpp, 32x32x256bpp, 32x32x16Mbpp and 48x48x256bpp
Not exactly, the formats are:

16x16x4 (16 colors)
16x16x8 (256 colors)
16x16x32 (16.8M colors (24bits) + alpha channel (8 bits) [WinXP format])

32x32x4 (16 colors)
32x32x8 (256 colors)
32x32x32 (16.8M colors (24bits) + alpha channel (8 bits) [WinXP format])

48x48x8 (256 colors)

Maybe this isn't the problem, but can be.