Archive: Custom icon for installer page header


Custom icon for installer page header
How can I set custom icon for the installer header and for the language selection dialog?
By default it shows 32x32x8 on Windows 9x and 32x32x32 on WinXp from !define MUI_ICON "icon.ico"
But if I want to make all icons in "icon.ico" the same view - how to set separate icon for the header?


Is because the color depth are very different in each OS. You can try set the depth into true color on Win9x ... which is by default in some XP machines... :)


Yes, I understan this. But my question was not about color depth (mabe my english is bad).
So is there any posibility (any command) to set another icon (form another icon file) for page headers (not from !define MUI_ICON "icon.ico") or its only by creating my custom page?


MUI_ICON will add the icon into the exe... you can't modify this once is created... you can make or edit you icon so can be display correctly in different OS's.
Normally 256 colors will display cool on Win9x and some 2k.... you should try a Icon editor for this...
Well...that's what I understand....


A single icon file can store icon sizes from 16 to 48 px from the lowest to the highest quality.
If you can you should have a copy of your icon image for every single size and colour depth.

Awicons is a very cool (and pretty) program which works with icons:
http://www.awicons.com/

-Stu


>you can't modify this once is created... you can make or edit you icon so can be display correctly in different OS's.

So I want to set all icons that are in file !define MUI_ICON "icon.ico" like icon 1 (see screenshot), because I don't like when file of my installer shows different icons when I change view in Windows Explorer (I will add 16x16, 32x32, 48x48 in 8 bit and 32 bit - but all of them will show the same picture).

But by defaiult icon 2 (see screenshot again) - is from !define MUI_ICON "icon.ico" from 32x32 icon. Can I set this icon from another file, or its impossible?

Screenshot : http://www.046*****~komarov/Image.png (9 kbyte)

>Awicons is a very cool (and pretty) program which works with icons:
I prefer "Icon Sushi".


There's no need to mess with icons for that. See Examples\Modern UI\HeaderBitmap.nsi. It's possible to move it to the right. See the Modern UI readme for more information about that.