Multiple errors when installing Visual Studio 2015 - visual-studio

So, I downloaded VS Professional and when I went to install it, I got the following errors:
Team Explorer for Microsoft Visual Studio 2015 : Fatal error during installation.
Microsoft NuGet - Visual Studio 2015 : Package failed.
Microsoft Visual Studio Connected Services : Package failed.
Azure AD Authentication Connected Service : Package failed.
Microsoft Azure Mobile Services Connected Service : Package failed.
Microsoft Azure Storage Connected Service : Package failed.
Microsoft.VisualStudio.Office365 : Package failed.
I tried every solution in this other question (besides a clean windows install), but none of them worked. Any ideas?
Edit: Link to the log file generated by the installer. Ps.: It's a 1.3MB file

After a while, I managed to solve these issues by downloading Revo Uninstaller and uninstalling every C++ Redistributable on my computer, and letting VS install the proper ones.

Related

Visual Studio Express 2015

I recently signed up for a programming class which we need to download Visual Studio Express.
After downloading I am getting some errors.
Microsoft Visual Studio connected services package failed
Microsoft Azurage Storage connected services package failed
Every time I open up Visual Studio and try to start a new project with visual basic it automatically fails on me and tells me there was a problem and the program restarts.
How can I fix this problem?
Error message I am getting:

error during installing visual studio 2017

I am trying to install Visual Studio 2017 RC and I keep getting this error:
[2ea4:002f][2016-11-20T21:47:00] Package
'Microsoft.TeamFoundation.OfficeIntegration.Resources,version=15.108.25831.0,chip=x64,language=en-US'
failed to install. MSI:
C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.OfficeIntegration.Resources,version=15.108.25831.0,chip=x64,language=en-US\tfs_officeIntegrationCoreRes.msi,
Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1
MSIFASTINSTALL="7" USING_EXUIH="1" , Return code: 1714, Details: The
older version of Microsoft Visual Studio Team Foundation Server 2017
RC Office Integration Language Pack (x64) - ENU cannot be removed.
Contact your technical support group.
We were able to force uninstall the problematic package using this Microsoft tool, after which we were able to install VS2017 normally.
The package name in our case was: Microsoft Visual Studio Team Foundation Server 2017 RC Office Integration Language Pack (x64) - ENU​
With my experience, this happens when Visual Studio 2017 setup cannot uninstall/repair/upgrade an existing package. Try this:
Quit the VS 2017 installer setup and go to this location "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.OfficeIntegration.Resources"
There must be an .msi file with name "tfs_officeIntegrationCoreRes.msi" (based on your error message - it appears that you have office tools installed as part of previous VS installation)
Run that msi and remove the component (there must be a remove option). Once done restart the VS 2017 setup again and this time you shouldnt get this error at least.
Hope this helps.
after several tries, I had no solution. Then restarted the computer and run the installer again. No installation errors :)

Visual Studio Community 2015 not installing - Multiple errors during installation

First of all, I know there are similar problems, but none of the answers work for me. I am trying to install Visual Studio Community 2015 Update 1 via Web Installeron my Windows 10 Single Language 64-bit PC.
The Errors (Log File Here, interesting part of Log at end) -
Team Explorer for Visual Studio 2015 -> Fatal Error During Installation
Microsoft NuGet Visual Studio 2015 -> Package Failed
Microsoft Visual Studio Connected Services -> Packages Failed
Azure AD Authentication Connected Services -> Packages Failed
Microsoft Azure Mobile Services Connected Service -> Package Failed
Microsoft Azure Storage Connected Service -> Packages Failed
Microsoft.VisualStudio.Office365 -> Package Failed
Solutions I have tried -
Clearing Temp Files, ProgramData folder (As given on Microsoft common errors and workarounds)
Installing Express editions (Got same errors)
Repairing Visual C++ Redistributables 2015 64 bit and 32 bit (Restarted PC after repairing each one)
Repairing Visual C++ Redistributables 2005-2015 64 bit and 32 bit (Restarted PC after repairing all together)
Repairing Visual Studio over 1000+ times with every solution (Got same errors everytime)
Some Extra Info -
Don't suggest me to use ISO installer, as - 1) I don't have enough
internet to download all of the ISO at once, and 2) The other
questions all say that if the Web one doesn't work then ISO one
doesn't work too.
I searched for vcruntime140.dll after repairing but the files are of different sizes than given in this answer.
I don't have Office 365 so I don't need that.
I also don't need Azure or Team Explorer or the other things of which I get an error.
I found there is a way to clean uninstall all Visual Studio components
https://github.com/Microsoft/VisualStudioUninstaller
I faced such problem before, where removing all Visual C++ Redistributables and Regsitry does not helps.
I almost end up with re-installing my windows...
But luckily, i found this app, it saved me from alot of trouble.
credits to tobyhu87 # github
Finally found an answer -
1) Delete ALL Visual C++ Redistributables and Visual Studio.
2) Go to Regedit and delete all registries related to Visual Studio.
3) Install only Visual C++ 2015 x64 and x86 Redistributables, then install Visual Studio.
turn on Windows Update in Services
run enter Services.msc

Microsoft Visual Studio 2015 community edition installation errors

I'm trying to install visual studio 2015 and it's coming back with these errors:
Team Explorer for Visual Studio 2015 -> Fatal Error
Microsoft NuGet - Visual Studio 2015 -> Package Failed
Microsoft Visual Studio Connected Services -> Packages Failed
Azure AD Authentication Connected Services -> Packages Failed
Microsoft Azure Mobile Services Connected Service -> Package Failed
Microsoft Azure Storeage Connected Service -> Packages Failed
Microsoft.VisualStudio.Office365 -> Package Failed
I've googled this and seen that this is already a question here with a solution,
Multiple Errors Installing Visual Studio 2015 Community Edition. I'm only asking another question because I couldn't post mine on the original one.
The soultion states that the c++ redistributable must be repaired because they are getting the 64 and 32 bit dlls mixed up. So I repaired them but it still installs the dlls to the wrong folder and I thought that maybe if I move them myself that would do the trick, but the visual studio installer seems to install them again anyway undoing my changes.
Does anyone have any other suggestions to make on how to get around this problem?
Working!
I 've tried all the workarounds without success and what finally do the trick was to uninstall all visual studios and all Microsoft Visual C++ XXX Redistributable x86 and x64 versions.
Then, run the Visual Stuido installer again.
Hope it helps!

How to deploy a Office 2010 add-in with Visual Studio 2010 setup & deployment?

We have an error during the installation after running our installation:
Component Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) has failed to install with the following error message:
"A failure occurred attempting to install the Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)."
The following components failed to install:
Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)
See the setup log file located at 'C:\Users\***\AppData\Local\Temp\VSD831C.tmp\install.log' for more information.
The log file return:
Verifying file integrity of C:\Users\***\AppData\Local\Temp\VSD831C.tmp\VSTOR40\vstor40_x64.exe
WinVerifyTrust returned -2146869232
File not trusted
Installing using command 'C:\Users\***\AppData\Local\Temp\VSD831C.tmp\VSTOR40\vstor40_x64.exe' and parameters ' /q:a /c:"install /q /l"'
Process exited with code 536870913
Status of package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' after install is 'InstallFailed'
How proceed to install successfully our Office 2010 add-in?
UPDATE: Ok for your answers but the goal is to deploy the app with the installer I test. So the end-user will have the same error as me. The goal is to avoid this error in the setup configuration in Visual Studio 2010. How can I add VSTO 4 runtime in the installer and obtain no error?
It may be Microsoft bug. They have released un-signed version of the installer that throws error:
WinVerifyTrust returned -2146762496. File not signed.
I'm not sure if it will help in your case. The fix for me was to download new version from Microsoft downloads website .
The full description of the bug is available here:
VSTO Runtime installation error
Are you you installing with elevated privalages? That may be why WinVerifyTrust is not trusting vstor40_x64.exe.
Second thing to check is if you are installing in order - first the .NET run time (3.51 or 4.0, depending on your add-in), then vstor40_x86.exe or vstor40_x64.exe (depending on client machine x86 or x64), then your solution.
If it's not as simple as this, check out Troubleshooting Office Solution Deployment and/or Troubleshooting ClickOnce Deployments (if you're using ClickOnce).

Resources