Solved

vcredist_x## install error: HRESULT=-2146697213

Posted on 2013-11-15
3
516 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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 …
Introduction to Processes

724 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