If you have packaged a installer with your own packaged project with Visual Studio, and generated the. msi and setup.exe installation files, and selected the Visual C + + 2010 Runtime (x86) in the Project installation Prerequisites environment, Then you will find that, click Setup.exe installation, if you click the Setup.exe installation files again, you will need to install the C + + operating environment again, as if each time can not be installed by C + + prerequisite conditions.
The reason is that Microsoft's C + + operating environment product code has been changed.
The solution is as follows
Find this file
C:\Program Files (x86) \microsoft Sdks\windows\v7.0a\bootstrapper\packages\vcredist_x86\product.xml
To find this section inside.
<InstallChecks>
<msiproductcheck property= "vcredistinstalled" product= "{ 6ee91c1a-a2e7-38cd-aebb-3b900a4d8868} "/>
</InstallChecks>
Change the inside product to
<InstallChecks>
<msiproductcheck property= "vcredistinstalled" product= "{ F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} "/>
</InstallChecks>
found that the C + + Runtime environment package is installed after the change or every installation. Careful examination found that this package was replaced by me, is a patch package, of course, his product is inconsistent, to the
registry [hkey_local_machine\software\microsoft\windows\currentversion\ Uninstall] You can see the picture clearly
> It's better to replace this product.
The problem has been solved.