Adding uninstall information with Inno Setup
Asked Answered
P

1

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!

Perennate answered 21/7, 2012 at 14:23 Comment(5)
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 ?Monkery
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!Perennate
Ok; anyway you may find also these directives interesting: AppComments, AppContact, AppPublisher, AppPublisherURL, AppSupportPhone, AppSupportURL and...Monkery
...AppUpdatesURL. So as the plain old website might act the AppPublisherURL, but it's just my guess :-)Monkery
Ah - I don't know why I didn't see the AppSupportURL and the AppUpdatesURL in the script I have. Thanks again - very helpfulPerennate
M
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
Monkery answered 21/7, 2012 at 15:31 Comment(2)
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 goodPerennate
You don't have that much control over the Add/Remove applet. You're limited by what Windows offers to show.Honeyed

© 2022 - 2024 — McMap. All rights reserved.