Specifying the Icon for the Setup Launcher

InstallShield 2019

Project • This information applies to the following project types:

Advanced UI
Basic MSI
InstallScript
InstallScript MSI
Suite/Advanced UI

InstallShield lets you specify the icon that should be used for your Setup.exe setup launcher. The icon can be in an .exe, .dll, or .ico file.

End users can see this icon when they view your Setup.exe file in Windows Explorer. The icon is also displayed on the Properties dialog box for Setup.exe; this Properties dialog box opens when end users right-click the Setup.exe file and then click Properties.

If you do not specify an icon, InstallShield uses a default icon for your Setup.exe file.

To specify the icon for your Setup.exe file:

1. In the View List under Media, click Releases.
2. In the Releases explorer, select the release that you want to configure.
3. Click the Setup.exe tab.
4. In the Setup.exe Icon File setting, specify the fully qualified name of the file that contains the icon that InstallShield should use when it creates the Setup.exe file at build time.

To specify a file, type an explicit path or path variable, or click the ellipsis button (...) to open the Change Icon dialog box, in which you can click the Browse button to select a file.

By default, the icon with index 0 is used; to specify a different icon, either select an icon in the Change Icon dialog box or append the icon’s index or resource ID (preceded by a minus sign) to the file name. For example, C:\Temp\MyLibrary.dll,2 indicates the icon with an index of 2, and C:\Temp\MyLibrary.dll,-100 indicates the icon with a resource ID of 100.

The next time that you build the release, InstallShield uses the icon that you specified for your Setup.exe file.

See Also