8

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!

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
Andy
  • 3,600
  • 12
  • 53
  • 84
  • If I get it right you meant how to change the icon and display name in the Add/Remove program list, but what is the third information ? What did you meant with the *change some of thre inform displayed in the Control Panel* ? – TLama Jul 21 '12 at 15:40
  • As you'll guess, you are right about the icon and display name. What you quoted was a typo but see my comment on your answer to see what I meant! – Andy Jul 21 '12 at 16:02
  • 1
    Ok; anyway you may find also these directives interesting: [`AppComments`](http://www.jrsoftware.org/ishelp/topic_setup_appcomments.htm), [`AppContact`](http://www.jrsoftware.org/ishelp/topic_setup_appcontact.htm), [`AppPublisher`](http://www.jrsoftware.org/ishelp/topic_setup_apppublisher.htm), [`AppPublisherURL`](http://www.jrsoftware.org/ishelp/topic_setup_apppublisherurl.htm), [`AppSupportPhone`](http://www.jrsoftware.org/ishelp/topic_setup_appsupportphone.htm), [`AppSupportURL`](http://www.jrsoftware.org/ishelp/topic_setup_appsupporturl.htm) and... – TLama Jul 21 '12 at 16:11
  • ...[`AppUpdatesURL`](http://www.jrsoftware.org/ishelp/topic_setup_appupdatesurl.htm). So as the *plain old website* might act the [`AppPublisherURL`](http://www.jrsoftware.org/ishelp/topic_setup_apppublisherurl.htm), but it's just my guess :-) – TLama Jul 21 '12 at 16:12
  • 1
    Ah - I don't know why I didn't see the `AppSupportURL` and the `AppUpdatesURL` in the script I have. Thanks again - very helpful – Andy Jul 21 '12 at 17:33

1 Answers1

13

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
TLama
  • 75,147
  • 17
  • 214
  • 392
  • Thanks TLama, that is exactly what I wanted. It works perfectly. The only other thing that I wouldn't mind changing but it's not too important is the web links in the uninstall information. I don't really need the 'Support Link' or the 'Update Information' website. Just a plain old 'website' would be good – Andy Jul 21 '12 at 15:58
  • You don't have that much control over the Add/Remove applet. You're limited by what Windows offers to show. – Deanna Jul 23 '12 at 09:35
  • Thanks TLama! I had the same doubt – Luiz Vaughan Sep 09 '12 at 00:59