Visual Studio Installer installation files that are built after packaging need to reinstall the C + + 2010 Run-time Library (x86) solution each time they are executed

Source: Internet
Author: User
Tags visual studio installer

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>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.