Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual C++ 2010 Runtime Libraries prerequisite keeps popping up on a VS 2010 created installer
    text
    copied!<p>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.</p> <p>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.</p> <p>This popup should only be displayed once, the first time it is discovered that VC++ redistributable is not installed.</p> <p>Has anyone seen this? Anyone know how I can fix this?</p> <p><strong>Solution:</strong></p> <p>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:</p> <pre><code>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\vcredist_x86\product.xml </code></pre> <p>In this file you will find the following:</p> <pre><code>&lt;InstallChecks&gt; &lt;MsiProductCheck Property="VCRedistInstalled" Product="{6EE91C1A-A2E7-38CD-AEBB-3B900A4D8868}"/&gt; &lt;/InstallChecks&gt; </code></pre> <p>The above contains the incorrect product code. Replace the above with the correct product code for the Visual C++ 2010 SP1 redistributable as follows:</p> <pre><code>&lt;InstallChecks&gt; &lt;MsiProductCheck Property="VCRedistInstalled" Product="{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}"/&gt; &lt;/InstallChecks&gt; </code></pre> <p>The link <a href="http://blogs.msdn.com/b/astebner/archive/2010/05/05/10008146.aspx" rel="noreferrer">here</a> shows the correct product codes for the various VC++ 2010 Redistributables.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload