TobyFruthParson
Enthusiast
Enthusiast

Icon

The Icon parameter specifies the icon file to associate with the generated executable file. This icon appears in the application, such as Microsoft Word, and in the files associated with the application, such as .doc files.  Each application includes its own icon stored as a .ico file, within the .exe file of the application, or within a .dll file. The capture process attaches the icons to the executable files. The application uses the main group icon from the executable file in the Source parameter and the individual icon resource that the group icon points to.

Examples

You can modify the Icon parameter to use an alternative icon by specifying an executable file that is different from the executable file in the Source parameter. Alternative icons might be useful for third-party companies.

[<my_app>.exe]
Source=%ProgramFilesDir%\<my_app>\app.exe
Icon=%ProgramFilesDir%\<my_app>\app2.exe

You can specify an icon set by appending ,1 ,2 to the end of the icon path.

[<my_app>.exe]
Source=%ProgramFilesDir%\<my_app>\<app>.exe
Icon=%ProgramFilesDir%\<my_app>\<app2>.exe,1


You can use a .ico file to specify the application icon.

[<my_app>.exe]
Source=%ProgramFilesDir%\<my_app>\<app>.exe
Icon=%ProgramFilesDir%\<my_app>\<my_icon>.ico

Toby Fruth, Sr. Specialist, The Parsons Corporation