Solved

vcredist_x## install error: HRESULT=-2146697213

Posted on 2013-11-15
3
498 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 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

26 Experts available now in Live!

Get 1:1 Help Now