Inno Setup installer icon does not show in Control Panel or Settings

12.9k Views Asked by At

I have an Inno Setup project. Everything is fine, but I do not see the application icon in Control Panel -> Programs -> Programs and Features or Settings -> Apps -> Installed Apps. I do see the icon everywhere else.

The script file does have the following:

[Setup]
SetupIconFile={#MySetupImageIco}

Is there something else that I need to set to get the application icon to show in the Programs and Features control panel applet? I am testing against Windows 8.1.


I should add that the end-user installer shows the icon in multiple places, not just in the control panel area and the other instances of the icon are fine. I am taking a stupid user point of view. Each visual instance of that icon may or may not be linked to that one SetupIconFile variable. Is it possible that the control panel applet uses a different variable?

5

There are 5 best solutions below

3
On BEST ANSWER

Solution is:

Add

[Setup]
UninstallDisplayIcon={app}\{#MyAppExeName}

Specifying the actual ico file did not work, but this entry did.

I tested against Windows 8/8.1. Windows 7 works without this line.

2
On

Add

It should be

UninstallDisplayIcon= {app}ForwardSlash{#MyAppExeName}

I tested it against Windows 10 latest build.

1
On

In Windows 11, you can use the icon file itself.

UninstallDisplayIcon=C:\Path\to\ico\file does the thing.

Worked for me.

4
On

I can confirm this as a working solution too (Win7 x64):

[Setup]
UninstallDisplayIcon={uninstallexe}

What I really love here it's independent to app name etc. Just pure alias to uninstaller.

Found at https://dutchgemini.wordpress.com/2011/05/03/innosetup-and-the-missing-uninstall-icon-on-windows-7

1
On

I had a problem with your #MyAppExeName solution because I use the OutputBaseFilename directive. A more elegant solution is:

UninstallDisplayIcon={srcexe}