Comments

2 comments

  • Avatar
    Jake

    Windows icons are also customizable for both the installer and the uninstaller. InstallBuilder expects an ICO file that contains the below images:

    • 64 x 64 pixels, 32bpp (16.7 million Colors)
    • 48 x 48 pixels, 32bpp (16.7 million Colors)
    • 32 x 32 pixels, 32bpp (16.7 million Colors)
    • 24 x 24 pixels, 32bpp (16.7 million Colors)
    • 16 x 16 pixels, 32bpp (16.7 million Colors)
    • 48 x 48 pixels, 8bpp (256 Colors)
    • 32 x 32 pixels, 8bpp (256 Colors)
    • 16 x 16 pixels, 8bpp (256 Colors)

    Although some of them can be skipped you must at least provide the following sizes:

    • 48 x 48 pixels, 32bpp (16.7 million Colors) or 8bpp (256 Colors)
    • 32 x 32 pixels, 32bpp (16.7 million Colors) or 8bpp (256 Colors)
    • 16 x 16 pixels, 32bpp (16.7 million Colors) or 8bpp (256 Colors)

    If your icon file contains any additional images (such as a 256x256 image), they will just be ignored.

    You can specify the icons as shown below:

    <project>
       ...
       <windowsExecutableIcon>path/to/installer.ico</windowsExecutableIcon>
       <windowsUninstallerExecutableIcon>path/to/uninstaller.ico</windowsUninstallerExecutableIcon>
       ...
    </project>
    

    If the uninstaller icon is not configured explicitly, it will use the icon used in the installer. Similarly, if no installer icon is specified, the default InstallBuilder icon will be used.

    The locations specified in the <windowsExecutableIcon> and <windowsUninstallerExecutableIcon> refer to files in the build machine.

    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.

    One of the several methods to create ICO files is through using Gimp (free software), as explained in this tutorial and youtube video tutorial. Gimp is an excellent free image editing software available at http://www.gimp.org.

  • Avatar
    martinluth123

    Using a Context menu Setup 1. Create a shortcut of the EXE file you desire. Right click the desktop and select "Create Shortcut". 2. Right click the shortcut with the default icon for the EXE file. Select Properties and click the "Change Icon" button. 3. Locate the image which is stored as a file. Make sure the icon is preferably 128 pixels long by 128 pixels wide. 4. Apply and save the changes. Click Apply, Hit OK. Check for essay writing service.

Please sign in to leave a comment.