Microsoft Visual Studio 2015 community edition installation errors - visual-studio

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!

Related

Visual Studio Installer Project Extension running in VS 2017 Pro thinks it's running in VS 2013 Pro

Got a big problem with the Visual Studio 2017 Installer Projects Extension for Visual Studio 2017 Professional. I added a Visual Studio Installer Setup project to a solution and set it up the way it's basically supposed to be done (Primary Output in the Application Folder and an icon in the Desktop Folder is all that was needed). Then I right-clicked on the Setup project, clicked "Build" and then I get this:
Please wait while Windows configures Microsoft Visual Studio Professional 2013.
And then it stalls indefinitely. I have to close Visual Studio in Task Manager to stop everything. What's more, I'm Visual Studio Professional 2017, not 2013. I used to have Visual Studio 2013 Ultimate, but I uninstalled it. What could possibly be causing the confusion?
It appears that you have also got Visual Studio 2013 installed, and that there is as conflict between 2013 and 2017 because that message is a Windows Installer repair of VS 2013. Something is happening during your build that requires the VS 2013 installation to be repaired. The Windows Event Log (Application) will have an MsiInstaller log entry saying which component appears to be broken. If you post that information there may be a clue to the problem. If you (for example) have manually removed anything that may belong to the VS 2013 installed product then that would cause the same kind of problem.
You have this similar problem:
Rebuilding Visual Studio Installer project, launches Visual Studio 2013 seetup
Visual Studio 2015 msi build initiates another installation
When you say it stalls indefinitely, I would expect it to ask for the Visual Studio 2013 install image so that it can repair it. If you go to Programs&Features and manually repair VS 2013 it might fix the problem.
I also had Visual Studio 2013 installed as mentioned by #PhilDW.
Navigating to Event Viewer → Windows Logs → Application I found loads of warnings:
Detection of product '{9C593464-7F2F-37B3-89F8-7E894E3B09EA}', feature 'Visual_Studio_Professional_x86_enu', component '{E3FF99AA-78B9-4A06-8A74-869E9F65E1FE}' failed. The resource 'C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\' does not exist.
The key here being that the folder C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\ did not exist thanks to an answer in the first link provided by #PhilDW.
Created the missing final folder URTInstallPath_GAC in the path mentioned and the installers now build really fast whereas before they used to take forever (sometimes literally!).

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 :)

Multiple errors when installing Visual Studio 2015

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.

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

Resources