Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6714157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:27:46+00:00 2026-05-26T08:27:46+00:00

I created an installer with Visual Studio 2010 Version 10.0.40.219.1 SP1 Rel. My application

  • 0

I created an installer with Visual Studio 2010 Version 10.0.40.219.1 SP1 Rel. My application is built/compiled for x86 and requires VC++ runtime libraries. Thus, the setup project is configured with VC++ runtime libraries as a prerequisite.

Every time I run the installer I get the popup “The following components will be installed on your machine.” “Visual C++ 2010 Runtime Libraries (x86)”. The first time it gets installed asa expected. The second and subsequent times it asks me whether to repair or remove VC++ 2010.

This popup should only be displayed once, the first time it is discovered that VC++ redistributable is not installed.

Has anyone seen this? Anyone know how I can fix this?

Solution:

The answer I accepted gave me what I needed to resolve the issue. Here are the details on what I did to fix this, which was very simple in fact. I edited the file:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\vcredist_x86\product.xml

In this file you will find the following:

<InstallChecks>
    <MsiProductCheck Property="VCRedistInstalled" Product="{6EE91C1A-A2E7-38CD-AEBB-3B900A4D8868}"/>
</InstallChecks>

The above contains the incorrect product code. Replace the above with the correct product code for the Visual C++ 2010 SP1 redistributable as follows:

<InstallChecks>
    <MsiProductCheck Property="VCRedistInstalled" Product="{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}"/>
</InstallChecks>

The link here shows the correct product codes for the various VC++ 2010 Redistributables.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:27:46+00:00Added an answer on May 26, 2026 at 8:27 am

    This happens because the prerequisite detection criteria is incorrect.

    A solution is to create your own custom prerequisite with a correct criteria. Perhaps this article will help:
    http://blogs.msdn.com/b/astebner/archive/2010/05/05/10008146.aspx

    Visual Studio setup projects do not support this. But it can be done by manually generating the required manifests.

    You can find the manifests structure here: http://msdn.microsoft.com/en-us/library/ms229223(VS.80).aspx

    These manifests can be generated automatically with the Bootstrapper Manifest Generator tool.

    After generating the package manifests, you can add all these files (including the package) in a separate folder in the Visual Studio prerequisites folder, for example:

    C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\
    

    You can then select the prerequisite in your setup project properties page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Guys I created a console application in Visual Studio 2010. It targets the .NET
In Visual Studio 2010 I have created a WebService (WCF) Application and a client
I've created an empty console application in Visual Studio 2010 and I'm attempting to
My MSI installer created with Visual Studio 2008 refuses to install the app in
I'm running Visual Studio 2008 sp1 on Win7, with MVC2 RTM installed. I created
I just installed the release version of Visual Studio 2010, and it looks like
I have created an OData/WCF service using Visual Studio 2010 on Windows XP SP3
I've installed visual studio 2010. When unhandled exception is thrown, nothing happen... I created
I am running a console application in MS Visual Studio 2010 in Windows 7
I have created a very simple window service using visual studio 2010 and .NُET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.