Solved

vcredist_x## install error: HRESULT=-2146697213

Posted on 2013-11-15
3
502 Views
Last Modified: 2013-11-20
I develop in-house applications using Visual Studio 2010 / Visual Basic 2010.  My template solution is composed of three projects:  the main Windows Forms Application project, a Visual Studio Installer Setup and Deployment project that targets x64 and a Visual Studio Installer Setup and Deployment project that targets x86.

One of my prerequisites is for the Microsoft C++ 2010 x## Redistributable

On some machines the Setup.Exe will fail when trying to download / install this prerequisite.  The temporary folder in the App Data/Temp/.... folder for the install has the vcredist_x## sub-folder created but that folder is empty.

The log file shows the path from which the vcredist_x## download is trying to pull from:  If I cut-n-paste this path into IE10 and Save As to this same sub-folder the download completes and I can run the vcredist_x##.exe and install the redistributable.

I can not find any information on the HRESULT=-2146697213 error that is reported out in the .log file.

I always run the setup.exe by right-click >> run as administrator

Workstation(s) are running Windows 7 Pro.

I have attached the Install.Log file:  What is the HRESULT=-2146697213 Error and how should I correct it?

install.log
0
Comment
Question by:Swamp_Thing
3 Comments
 
LVL 2

Accepted Solution

by:
Swamp_Thing earned 0 total points
ID: 39662717
Got the answer from the MSDN Forums:  Turned off all of the McAfee Services that i could and the setup could download and install the prerequisites without issue.  I also found that if I configure the prerequisites in my VS Project to pull from the same location as my setup.exe that that works - however it takes longer.   As I can not ask users to stop and start McAfee services I will have to deploy the prerequisites from the same location as my setup.exe
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now