## Step 3: Define launcher icon |
previous | up | next

In this step of the generated launcher wizard, you define the icon for the generated launcher.

| If you would like to associate a custom icon with your executable, select the `add icon to launcher` checkbox. In the `Cross platform` section you then have to choose icon files in the PNG image format (extension `*.png`) in the sizes 16x16 and 32x32 pixels. On Microsoft Windows, the generated executable will have an icon with these images, on other platforms, these image files will be used for desktop integration. It is recommended to use 32-bit images with an alpha channel, 8 bit-palette images will be generated where required. Generated Windows icons contain traditional 256 color images and 32-bit images with an alpha channel ("Windows XP icons"). However, it is also possible to use 8 bit-palette images with a transparancy color for the input image files. If you have an external icon file for Microsoft Windows, you can select the `Use ICO file` option in the `Windows` section and choose an icon file (extension `*.ico`) in the text field below. With the `Generate from PNG files` option, the icon will be generated as described in the `Cross platform` section. If you have an external icon file for Mac OS X, you can select the `Use ICNS file` in the `Mac OS X` section and choose a Mac OS X icon file (extension `*.icns`) in the text field below. With the `Use standard icon` option, a standard icon provided by install4j will be used. No Mac OS X icon is generated by install4j, since the ICNS format is undocumented. Mac OS X icons have to be generated on Mac OS X with the Icon Composer application located in `/Developer/Applications`. Note: If the project has already been saved, relative file paths will be interpreted as relative to the project file.

| Click [Next] to proceed to the next step or [Cancel] to leave the generated launcher wizard without applying any changes.