Ways to associate icon in ARP

nac's picture

Can we discuss different way to populate ARP icon ?

Santro's picture

Ways to associate icon in ARP

There are couple of ways to publish ARP Icon.
1. In your package editor GOTO to ADD/REMOVE Program and browse for your icon file and set the icon index. To find out your required icon index you can use any icon extracting tools.
This internally add registry under "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]\DisplayIcon". So we can directly add this registry value and associate our ARP display icon.

2. Add a Predefined property ARPPRODUCTICON and value would be Name column of ICON Table. Add a row to ICON table. For Example -

ICON TABLE
NAME | Data
----------------------
ARPIcon | {binary data}
----------------------

PROPERTY TABLE
Property | Value
-------------------------
ARPPRODUCTICON | ARPIcon
-------------------------