Visual Studio 2015 Community Edition Installation

2019-02-21 08:17发布

问题:

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.

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.

回答1:

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.


回答2:

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



回答3:

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



回答4:

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



回答5:

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.



回答6:

I have been researching this issue and I am really surprised, that most of the folks trying to install Visual Studio 2015 or one of its update are not aware that all they have to do is run the setup as an admin with the /NoWeb argument and the setup will succeed in reasonable time.

The real culprit is not the setup itself, but that it tries to download and apply optional items not included in the .iso file. Ofcourse if you use the websetup to install the product, you do get a feedback on the main core items that are initially installed, and all those items are available in the iso, which can be easily downloaded. But the other optional items can only be applied by the setup by downloading and then be installed.

So I simple use the /Layout argument to the Visual Studio setup to cache all the items offline, then I use either /NoWeb or disconnect from internet or both to ensure that I can install all my components ok.

Please note that I have personally tried this, i.e. using the /NoWeb and/or disconnecting from internet and/or using the /Layout to download the whole deal and then running the setup offline.



回答7:

Visual Studio 2015 installer hangs during install? - just kill some of the background processes. I kill some of the windows installers(during the installation) and everything continues normally.



回答8:

Just disable cpu SpeedStep feature in BIOS.

this was my solution instead of disabling AV, disconnecting from internet and all other suggestion that I tested. after disabling SpeedStep I saw lot more speed in setup progress too.



回答9:

I am facing the same issue. My Visual Studio 2015 Professional installation is stuck for hours. I used Analyze Wait Chain command in task manager as suggested above. There it showed me VSCommunity.exe is waiting for WUSP.exe process. so i manually stopped WUSP.exe process. My visual studio installation resumed now. It is running fine. Thanks for the help everyone.



回答10:

In Windows 10 I go it through restarting Windows in Safe Mode! It's only way when my installation was fast as possible and avoid any hangs/stucks.

But don't forget to start Windows Installer Service before VS setup.