title: Inno Setup: Control panel icon does not show
body: <p>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.</p>
  
  <p>The script file does have the following:</p>
  
  <pre><code>[Setup]
  SetupIconFile={#MySetupImageIco}
  </code></pre>
  
  <p>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.</p>
  
  <hr>
  
  <p>UPDATE:<br>
  Based upon comments, I tried setting in my script:</p>
  
  <pre><code>UninstallDisplayIcon={#MySetupImageIco}
  </code></pre>
  
  <p>Sadly, that did not yield the icon in the Add/Remove aka Programs and Features Control Panel applet.</p>
  
  <hr>
  
  <p>UPDATE #2:<br>
  The winning solution is:</p>
  
  <pre><code>UninstallDisplayIcon={app}\{#MyAppExeName}
  </code></pre>
  
  <p>Naturally, there has to be a <code>#define MyAppExeName "whatever.exe"</code> 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 <code>UninstallDisplayIcon</code> and specifying the path to the ICO or without that, just Windows 8 and 8.1 are a bit different.</p>