If you include the word “Installer” in your Visual Studio Project, you may run into issue when executing your program on a Windows Vista or 7 machine.
Visual Studio will tag your application as an installation application. If you do not have the correct settings in your application manifest file, it will display something along the lines of:
This program might not have installed correctly
There may also be an option to reinstall using recommended settings or to you can select the installation did work as expected.
- Add an application manifest to your file by right clicking in the Project and selecting Add New Item.
- Open the app manifest and include the following:
<!--The ID below indicates application support for Windows Vista -->
<!--The ID below indicates application support for Windows 7 -->
- Save your app manifest file and ensure it is the selected one in your Project’s Properties Application tab.