windowsinstallationinno-setupaddremoveprograms

Adding uninstall information with Inno Setup


I'm using Inno Setup to create an installer for my program but I want to be able to add an icon and change some of the information displayed in the Control Panel (Add/Remove Programs).

I know that Inno Setup adds a registry key to get the program listed in the first place so I wondered if this could be extended in any way so that, at the least, my icon is displayed in the list!


Solution

  • To change the icon displayed in the Add/Remove Programs Control Panel applet program list specify the UninstallDisplayIcon directive in the [Setup] section.

    [Setup]
    UninstallDisplayIcon={app}\Application.exe
    

    If you want to specify a custom name for the program's entry in the Add/Remove Programs Control Panel applet then specify the UninstallDisplayName directive also in the [Setup] section.

    [Setup]
    UninstallDisplayName=Custom name shown in Add/Remove Programs applet