Adding unistall information with Inno Setup

2019-06-21 04:23发布

问题:

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!

Thanks in advance

回答1:

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