Automatic account creation is now enabled. Captcha authentication required for account creation and editing unless you are trusted here.

Icons

From WiX Wiki at MindCapers

Jump to: navigation, search

The WiX v3 doc describes the Icon attribute as:

  For an advertised ProgId, the Id of an Icon element. For a non-advertised ProgId, this is the Id of a file containing an icon resource.


Setting the Icon for an Application

To set the icon for an application that contains just the regular Windows Install default icon:

 
<Property Id="ARPPRODUCTICON" Value="myicon.ico" />
 

and later you'll have to include that icon:

 
<Icon Id="myicon.ico" SourceFile="c:\myicon.ico" />
 

Note that MSDN states among other things the following: "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."

Basically, if you create a shortcut to an exe, then your icon needs to reside in a .exe file, and that this executable should not be your ordinary executable due to space considerations.

Icon Links

Personal tools