title: "This program might not have installed correctly"
body: <p>I am aware of both <a href="https://stackoverflow.com/questions/1069135/this-program-might-not-have-installed-correctly-message-in-windows-7-rc">this</a> and <a href="https://stackoverflow.com/questions/898220/how-to-prevent-this-program-might-not-have-installed-correctly-messages-on-vist">this</a> questions.</p>
  
  <p>Which unfortunately didn't quite answer what I'd like to know:</p>
  
  <ol>
  <li><p>The answers in the above questions suggest that it has to do with adding shortcuts to the start menu, but that can't be the sole reason. So far I've been unable to reliably figure out <b>what makes windows think my application is an installer in the first place</b> and why does windows think it failed?</p></li>
  <li><p>I do not want to simply suppress the message with a compatibilty tag in the manifests. <b>I want to write a <i>proper</i> solution and tell Windows if my installation has failed or not</b>. Also, what does the <i>install using recommended settings</i> option do, that comes along with the dialog? How can I properly utilize this functionality? Again, I don't want to simply disregard the features Windows provides, I'd like to use them.</p></li>
  </ol>
  
  <p>I've been browsing around MSDN but with no success. I've asked google, but all I could find is ways to suppress the message using compatibility tricks in either the manifest or the registry. I'd be already grateful if someone could provide a viable resource on MSDN that covers this topic well.</p>
  
  <p>So far, I am using a custom installer that utilizes several Windows API calls. I am not messing around with the Windows Registry other than registering two services. It also has <code>requireAdministrator</code> as the requested execution level (not that anyone cares, but this is suprisingly clean and simple - it's merely a flag in the project settings). I am currently not using MFC or CLR.</p>