Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 Community Edition Installation Stuck In Windows 10

I am trying to install VS 2015 in Windows 10 and the installation is stuck at the "Applying Microsoft Visual Studio 2015 x86 Debug Runtime - 14.0.23026" section for around 4 hours.

The Acquiring section is showing 100% though.

Terminated the same to find the below details in a log file:

[2015-08-02T16:48:28]i305: Verified acquired payload: 
VSSetupUtility_Complete_vs_community at path: C:\ProgramData\Package Cache\.unverified\VSSetupUtility_Complete_vs_community, moving to: C:\ProgramData\Package Cache\7DB2302D-A398-3430-A694-   6B1ECD9A8D22\packages\vs_community\VSSetupUtility.exe.
[0CD8:1FE0][2015-08-02T16:48:28]i000: MUX:  Source confirmed
[0CD8:1FE0][2015-08-02T16:48:28]i000: MUX:  Set the Cache Complete Event
[0CD8:1854][2015-08-02T19:23:22]i000: MUX:  Go to CancelPrompt page.
[0CD8:1854][2015-08-02T19:23:26]i000: MUX:  Go to Progress page.
[0CD8:1854][2015-08-02T19:28:19]i000: MUX:  Go to CancelPrompt page.

After "Set the Cache Complete Event" it is stuck for 3 hours...

When I look at the Task Manager details -> Analyze wait chain for the exe, it shows deadlock.

Deadlock in vs 2015 setup

This is the 3rd time I am trying to install VS 2015 community edition; 2 times using the web installer and the 3rd time using an ISO.

like image 947
battech Avatar asked Aug 02 '15 13:08

battech


People also ask

How long does Visual Studio 2015 take to install?

NOTE: The full installation takes about 45 minutes. To install Microsoft Visual Studio 2015: Go to the Visual Studio Dev Essentials page and sign in to your account or create an account if you do not have it. This step is essential to download older versions of the Microsoft Visual Studio.

How long does Visual Studio community take to install?

The installation uses up to 12 GB of space; please be extremely patient. The installation will normally take between 30-60 minutes, but it may be more depending on your internet connection. The installer will prompt you to restart your computer when it completes its tasks.


5 Answers

My installation was stuck for 2 days.
I fixed it this way:

  • open the Task Manager (taskmgr.exe) and use the Details tab. I had two vs_community.exe instances running.
  • I've used the command "Analyze wait chain" to inspect them. One of the instances was locked in waiting for an EnableGraphicsTools.exe process. I killed the process EnableGraphicsTools.exe and my installation resumed and was successful.
like image 144
Iliuta Florin Avatar answered Jan 21 '23 22:01

Iliuta Florin


In my case the vs_community.exe was stuck waiting on enableaspnet.exe. I killed it and the install process continued.

like image 44
grigy Avatar answered Jan 21 '23 21:01

grigy


Get the iso for vs community edition and turn the internet off. Issue resolved by doing this way

like image 27
battech Avatar answered Jan 21 '23 20:01

battech


I disabled my AVG Internet Security 2015 for until next restart. Solved the issue. Best luck

like image 28
VS2015 Avatar answered Jan 21 '23 21:01

VS2015


I just disabled the internet connection for the period of the installation (installing from an offline ISO file, of course) and the process went through fine. FYI.

like image 38
TheCuBeMan Avatar answered Jan 21 '23 20:01

TheCuBeMan