Solved

vcredist_x## install error: HRESULT=-2146697213

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is an explanation of a simple data model to help parse a JSON feed
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…

856 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