I have an Inno Setup project. Everything is fine, but I do not see the application icon in the "Programs and Features" control panel area. 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.
UPDATE:
Based upon comments, I tried setting in my script:
UninstallDisplayIcon={#MySetupImageIco}
Sadly, that did not yield the icon in the Add/Remove aka Programs and Features Control Panel applet.
UPDATE #2:
The winning solution is:
UninstallDisplayIcon={app}\{#MyAppExeName}
Naturally, there has to be a #define MyAppExeName "whatever.exe"
above that at the top of the script. Interesting that when I specified the path to the ico file, I had no success. Inno Setup for Windows 8 and 8.1 wants what I just said. Windows 7 works with UninstallDisplayIcon
and specifying the path to the ICO or without that, just Windows 8 and 8.1 are a bit different.
As you know the application icon is built into the .exe file. The Inno Setup cannot modify the .exe files. And there's no other way to override the application icon by an external one. You have to edit the .exe file yourself, before building the installer.
Go to Menu, Project, then Compile to compile and create the setup file. This will create a complete installer. Run the Setup and your application will be installed correctly. Innosetup offers an awesome alternative to create great looking Installers for free.
Inno Setup is a free installer for Windows programs by Jordan Russell and Martijn Laan. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With