Visual Studio 2015 installer hangs during install?

前端 未结 30 2177
小蘑菇
小蘑菇 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:40

    I have similar problems, my savior became Windows Safe Mode

    STEPS:

    1. Restart Windows in Safe Mode (*run msconfig -> boot -> boot options -> check safe boot -> mode Network)
    2. In Safe Mode:
      1. Enable Windows Installer:

        REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"

      2. Start Windows Installer service:

        net start msiserver

      3. Run Visual Studio Updater / Installer
    3. Restart in normal mode (run msconfig -> boot -> boot options -> uncheck safe boot)
    0 讨论(0)
  • 2020-11-28 21:42

    I just installed VS 2015 Enterprise on Windows Server 2012 R2. The install was fast until it reached Update 1 which is past the 90% mark on the progress indicator. At that point, it took about 2 hours to complete. Be patient before you try anything more radical.

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

    Well, I cant find any SecondaryInstaller.exe to stop in task manager and even I dont have any AV rather then Windows Defender so I found something else..
    I stopped windows Update from elevated cmd by writing command net stop muauserv and it worked for me...
    The update will Retry again for KB2664825 so run the code again in cmd..(because the service starts automatically)

    Keep trying and its done for me...!!

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

    I've got same problem and unfortunately the accepted answer which suggests killing SecondaryInstaller.exe messed up installing the optional items. What I've done is basically opening the task manager and locate SecondaryInstaller.exe and right click and click on Open file location. Then run SecondaryInstaller.exe as an administrator.

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

    I had a similar problem. My solution was to switch off the antivirus software (Avast), download the .iso file, mount it (double click in the Windows Explorer on the .iso file), and then run it from the PowerShell with admin rights with the following switches:

    .\vs_community.exe /NoWeb /NoRefresh

    This way you don't have to go offline or remove your existing installation.

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

    This issue is becoming very now, specially for users installing visual studio on windows 10 platform. What Microsoft suggests is disable your anti virus and anti malware programs and always run setup with admin permission.

    But in my case I have to do lot more things to get rid of this issue: 1. Disabled AVG realtime protaction 2. Disabled AVG from task manager 3. Remove all the files and folders from system temp folder. (You can open it by typing %temp% and hit enter in run prompt) 4. Run setup again as admin

    Here is a complete list of incidents that I faced in this issue (visual studio 2015 installation got stuck)

    And how I resolved it

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