Skip to main content
Version: v3

Icon Element

Description
Icon used for Shortcut, ProgId, or Class elements (but not UI controls)
Windows Installer references
Icon Table
Parents
Fragment, Module, Product, Shortcut
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
IdStringThe Id cannot be longer than 55 characters. In order to prevent errors in cases where the Id is modularized, it should not be longer than 18 characters.Yes
SourceFileStringPath to the icon file. 
srcStringThis attribute has been deprecated; please use the SourceFile attribute instead. 
How Tos and Examples
See Also
Wix Schema