How to change the Windows executable icon?

Author: BitRock Support       Date: November 06, 2007 08:10       Tags: Look and feel
Features
Branding
Windows
Customization

The <windowsExecutableIcon> property allows you to modify the icon on Windows system for your installers. The icon must be in Windows .ico format. You just need to place this new property under the <project> element:

  <windowsExecutableIcon>/path/to/the/icon/file</windowsExecutableIcon>

Please note that the icon file can contain up to three different icons that must match one of the following formats:
  • - 16 x 16 pixels, 256 colors (you can see it on Explorer -> View -> Either "List" or "Details")

  • - 32 x 32 pixels, 256 colors (you can see it on Explorer -> View -> "Icons")

  • - 48 x 48 pixels, 256 colors (you can see it on Explorer -> View -> Either "Tiles" or "Thumbnails")

Any other icon formats are not supported right now and will be ignored by the application. This feature is only supported in InstallBuilder 5.2.0 and later.

Comments

ICO files and creating bundles

Author: viviotech       Date: September 22, 2009 17:59

Windows ICO files are special because they can contain multiple images in a single ICO file. Because of this special feature of the ICO file, you can store all ICO sizes in a single ICO file.

Start by creating ICO files of each image size (I used GIMP on Ubuntu Linux, but there are a lot of free Windows programs out there that will do it too). Once you have each size image in 3 different ICO files, you have to "bundle" them.

You can use ICOBundle to merge the 3 sizes of ICO files into a single ICO file. ICOBundle is free and opensource. You can download it from here:

http://www.telegraphics.com.au/sw/

Hope this helps!


 

Back You should login to comment

 

You are
currently not
logged in.

 Log in 

or

Sign up