Solved

vcredist_x## install error: HRESULT=-2146697213

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
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 …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

777 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