Skip to content
⌘ NSIS Forum Archive

Title bar icon question

5 posts

picoevera#

Title bar icon question

Hi to all,

I have a problem on the icon. I have searched into the forum but I haven't found a solution.
I have created two icon, one for the installer file and one for the uninstaller.
I have set the icons( size 48X48 pixels) in this way into the script
!define MUI_ICON ".\Graphics\Icons\Icone_OL3_install.ico" !define MUI_UNICON ".\Graphics\Icons\Icone_OL3_uninstall.ico"
and it works fine.
The problem is the same icons are placed into the title bar of each page during the installation/uninstallation process.
You can see the effect in this image at the top-left.

Is There an option to set in order to avoid this behaviour? Or how I can solve this snag?

nsis version 2.45
Installer created on Windows Vista Business and launched on Windows Xp SP2

Thanks in advance

Picoevera
Zinthose#
You need to add a 16x16 pixel icon to the 48x48 pixel collection. Most icon editors today allow for this.

Here is an open source one I did a quick Google search for.
You need to add a 16x16 pixel icon to the 48x48 pixel collection. Most icon editors today allow for this.

Here is an open source one I did a quick Google search for.
http://sourceforge.net/projects/variicons/
picoevera#
Hi,

I have created a new icon 16X16 pixels and stored in the same dir of the 48X48 icon. The name of the 16X16 icon is name_icon.ico. The name of the 48X48 icon is name_icon-full.ico. Nothing is changed.
Have I misunderstood the naming convention for the icon?
I have had the same test with a 32X32 pixels icon but the result was the same.
Any idea?
Thanks in advance

Picoevera
MSG#
Zinthose's suggestion was to add an icon to the existing .ico file. Ico files can contain multiple icons.