Icon Table

Windows Installer

Icon Table

This table contains the icon files. Each icon from the table is copied to a file as a part of product advertisement to be used for advertised shortcuts and OLE servers. See OLE Limitations on Streams.

The Icon table has the following columns.

Column Type Key Nullable
Name Identifier Y N
Data Binary N N

 

Columns

Name

Name of the icon file.

Data

The binary icon data in PE (.dll or .exe) or icon (.ico) format.

 

Remarks

This table is referred to when the PublishProduct action is executed.

The icons for shortcuts, file name extensions, and CLSIDs must be stored in files that are separate from the target file itself. This is required because the installer should copy only the small icon files to the user's machine when advertising the resource. A developer of an installation package therefore needs to author separate files containing only the icons. These icon files are then stored as binary data in the Icon table.

Icon files that are associated strictly with file name extensions or CLSIDs can have any extension, such as .ico. However, Icon files that are associated with shortcuts must be in the EXE binary format and must be named such that their extension matches the extension of the target. The shortcut will not work if this rule is not followed. For example, if a shortcut is to point to a resource having the key file Red.bar, then the icon file must also have the extension .bar. Multiple icons can be stuffed into the same icon file as long as all of the target files have the same extension.

Validation

ICE03
ICE06
ICE29
ICE32
ICE36
ICE50

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.