title: How to prevent "This program might not have installed correctly" messages on Vista
body: <p>I have a product setup executable that copies some files to the user's hard drive. It's not a typical installer in the normal sense (it doesn't add anything to the Start Menu or Program Files folders). </p>
  
  <p>Each time the setup program is run on Vista, after the exe terminates, Vista produces a task dialog:</p>
  
  <ul>
  <li><strong>This program might not have installed correctly</strong></li>
  <li>Reinstall using recommended settings</li>
  <li>This program installed correctly</li>
  </ul>
  
  <p>Is there a function I need to call from the exe or registry entry to set, to indicate to the operating system that the program installed correctly (or to at least supress this message)?</p>
  
  <p><strong>Related questions:</strong> <a href="https://stackoverflow.com/questions/1069135/this-program-might-not-have-installed-correctly-message-in-windows-7-rc">&quot;This program might not have installed correctly&quot; message in Windows 7 RC</a> (for Windows 7-specific issues)</p>