Visual Studio 2015 installer hangs during install?

前端 未结 30 2176
小蘑菇
小蘑菇 2020-11-28 21:29

I downloaded the full ISO for Visual Studio Ultimate CTP 6. The installation program got to about the 90% mark, gauging by the progress bar, and just stuck there. There wa

相关标签:
30条回答
  • 2020-11-28 21:49

    A better approach to find whether one of the subinstallers is blocked is to monitor its Network and Disk I/O activity. Process Explorer from Sysinternals does an excellent job. Android SDK Setup downloads large amounts of data (more than 1GB) and the CPU sits idle waiting for an I/O-bound operation to be completed. Under no circumstances you should attempt to kill any process, or you might risk corrupting your installation of Visual Studio. In the worst case scenario, cancelling and rerunning the setup should help.

    0 讨论(0)
  • 2020-11-28 21:49

    For Windows10:

    1) Kill VS2015 Process if hung

    2) Disable Windows Defender

    3) Open VS2015 as Administrator

    4) Enable Windows Defender

    5) Initial VS2015 startup is complete

    0 讨论(0)
  • 2020-11-28 21:50

    Mine froze on the Diagnostic Tools for 3 hours. I tried disabling my firewall and turning off internet among many other attempts to resolve this. In the end the following actions allowed the installer to complete and VS2015 Community edition to launch.

    • I then opened the latest log file in the %temp% folder, and navigated to the end of the file.
    • In the last few log lines there was an entry: "MSI (s) (DC:4C) [16:28:36:577]: Created Custom Action Server with PID xxxx"
    • I ended the process with the same PID, and then the installer continued. I had to do it roughly 3 times in total and then the installer completed successfully.

    All seems to be working OK so far (fingers crossed!!)

    0 讨论(0)
  • 2020-11-28 21:50

    In my case the Graphics Tools Windows feature installation was hanging forever. I've installed the Optional Windows Feature manually and restarted the setup of VS 2015.

    0 讨论(0)
  • 2020-11-28 21:51

    My VS 2015 install hung after hours of downloading. The VS installer window said it was still proceeding, but Windows Resource Monitor indicated there had been no networ, disk, or CPU usage by the vs_community.exe process tree for dozens of minutes. Windows Process Explorer revealed wusa.exe at the bottom of this tree (wusa is Windows Update Standalone Installer). Tempted to kill wusa.exe, I instead heeded the warnings in other answers to this question.

    After studying other answers here (strongly recommended), I made an educated guess and initiated a restart of my Windows 7 Pro. The restart hung because vs_community.exe would not exit. I therefore selected Cancel on Windows' restart popup.

    Windows returned to my user session, and now the VS 2015 install came to life(!) Process Explorer revealed wusa.exe no longer present. I therefore suspect that was the roadblock, but my conscience is clean (I didn't kill wusa.exe, Windows did!)

    After awhile the installer displayed the following:

    When I clicked Restart Now, Windows restarted to a "Configuring Windows" screen, and completed my VS install.

    0 讨论(0)
  • 2020-11-28 21:53

    In my case UAC was disabled (the infamous regedit trick) and so the installer clearly could not handle it.

    You could revert back to UAC for the installer, or simply try launching it as admin, it worked for me.

    0 讨论(0)
提交回复
热议问题