How to prevent "This program might not have installed correctly" messages on Vista
Posted
by Jason
on Stack Overflow
See other posts from Stack Overflow
or by Jason
Published on 2009-05-22T14:42:15Z
Indexed on
2010/03/11
19:04 UTC
Read the original article
Hit count: 265
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).
Each time the setup program is run on Vista, after the exe terminates, Vista produces a task dialog:
- This program might not have installed correctly
- Reinstall using recommended settings
- This program installed correctly
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)?
Related questions: http://stackoverflow.com/questions/1069135/this-program-might-not-have-installed-correctly-message-in-windows-7-rc (for Windows 7-specific issues)
© Stack Overflow or respective owner