|
|
#1 |
|
Junior Member
Join Date: Jan 2007
Posts: 2
|
Vista -> Win 2K (icons)
OK, as a Mac user/programmer I'm completely new to NSIS and have been thrown in at the deep end at work, with the following task, so please excuse vague or stupid questions - I've done everything you should do before posting questions (at least with Forum etiquette, I'm slightly more experienced
) but could still use a bit of guidance, since, for one thing, I don't even know if my line of thinking is correct in the first place.Well, with that little disclaimer over, I'll get to the point... our NSIS installer has been doing exactly what we need, since being written a couple of years ago. Now enter Vista and it's stupid oversized icons So, I've googled and searched till blue in the face but all I can find is info about compatability with XP. What about Win 2000, doesn't anybody develop 2k compatible software anymore? It seems Vista icons, whether compressed or not won't show on 2k? So, my line of thinking, we need 2 sets of icons?uuuurghhh... i just realised... because the installer itself needs an icon, we need 2 installers anyway - 98/2k and XP/Vista? Well, don't think I need to go on then... but could somebody please confirm that?TIA (in complete Windows ignorence )Rich |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can have both BMP and PNG images in the same ICO file. Windows 2000 and XP will simply ignore the newer PNG format and use what it can. So, if you wish to produce backward compatibility icon-wise, you have two options. You can simply not use PNG, or include just the large 128x128 or 256x256 icons in PNG version and keep the rest as BMP. This way, when Vista searches for its big icons, it'll be able to find it and when XP or 2000 search for their icons, they'll find them as well.
This applies to the installer as well. However, note that the installer and uninstaller icon must be identical in structure and size. With BMP images, that's quite easy. With PNG, however, it's a different story. So you might want to skip PNG for the installer, for now. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
the right icons are needed - normally 32*32 is usual, but
48*48 might better - better for creating lowsize. the format is the same till win98 except with winxp came truecolor/alpha which can not be handled on 2k and lower. use a better icon-editor which can handle both. idd xp/vista works fine with 256 colors, but the can more. when i create icons i try the get the greteast picture of it. Vista can do 256*256, but 128*128 or 64*64 will do too. mostly i work with PNG files (due to real transparency) and import them into axialis icon workshop. Greets, Brummelchen |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Jan 2007
Posts: 2
|
Hi and thanks for the replies. As you've described it, is pretty well as I've already understood it.
Quote:
Since I wrote this morning we've tested a 128 px icon on Vista, which looks good, even at 256 px. So looks like the answer is dead easy... basically, same icons, no change! I think I was a bit confused because I thought it's not a valid "Vista" icon without the 256 px image. So I guess that's my original problem solved, but I dare say I'll be back on Monday with more questions because I've still got the task or enhancing the script we've got, to take various variables into account and I'm still a bit confused by some of the syntax. Cheers, Rich |
|
|
|
|
|
|
#5 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
i dont like vista - i wont (never) use vista - astalavista
![]() idd - 2k seems to ignore xp-icons (never used 2k, crashes my system) afaik 256*256 in vista is not the default - many shots shows the normal 32*32 Greets, Brummelchen |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
Plz go http://www.axialis.com/iconworkshop/, I know it is a windos Applications but the tutorials and info on their site will solve some of your misteries you might have about Vista Icons.
Note that if you test your icon on Windows, sometimes the Icon cache of the OS is corrupt or does not get refreshed. This is a know defect in Windows OS's To solve this use a tool called MS PoverToy ,there is an repair iconc cache. Note that if you can not see the icon, you do something wrong. Best is to downlaod a valid Vista Icon and compare yours with this icon. Search the NSIS Wiki, I've added Vista Icons for NSIS there long ago. Oh AND do always READ what kichik wrote!! about the size of the icons if compiled into an NSIS installer. "Just do it" |
|
|
|
|
|
#7 | |
|
Major Dude
Join Date: May 2003
Posts: 681
|
Quote:
a row from 16*16 to 96*96 (xp only, 7 icons) has additional ~100kb Greets, Brummelchen |
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
Brummelchen, ofcourse my remarks where not directly for you, but for the original poster who needed a little help.
I know you know ![]() And yes IMHO, the icons add a huge amount to the installer, I also do not like this. But if it is someone's wish, lets try to help the NSIS enthousiast out. "Just do it" |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|