Reputation: 15561
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?
Upvotes: 33
Views: 13828
Reputation: 260
In Windows 11, you can use the icon file itself.
UninstallDisplayIcon=C:\Path\to\ico\file
does the thing.
Worked for me.
Upvotes: 3
Reputation: 15561
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.
Upvotes: 59
Reputation: 1
I had a problem with your #MyAppExeName
solution because I use the OutputBaseFilename
directive. A more elegant solution is:
UninstallDisplayIcon={srcexe}
Upvotes: -3
Reputation: 5369
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
Upvotes: 15
Reputation: 29
Add
It should be
UninstallDisplayIcon= {app}ForwardSlash{#MyAppExeName}
I tested it against Windows 10 latest build.
Upvotes: -1