Microsoft visual studio “setup blocked”

亡梦爱人 提交于 2019-11-27 12:23:21

It seems that from Windows 8 onward shutting down doesn't actually turns the computer off, but rather hibernates it. That causes system files which the installer needed to operate on to continue being used.

You can turn hibernation off by running the following command as an administrator:

powercfg.exe /hibernate off

After running it, restart the computer and the setup should work. You can turn it on again by using

powercfg.exe /hibernate on

You have 2 choices:

  • Restart PC (not shutdown!)

OR

You can also go to Control panel; power options; Choose what the power buttons do; Change settings that are currently unavailable; then uncheck the 'Turn on fast startup(recommended)' check box, save the changes then shut down.

I have managed to bypass the same error on Windows 7 x64 by:

  • emptying Windows Temp folder (usually C:\Windows\Temp), but keeping all files in use
  • performing a restart

I hit this issue but my problem was something completely different.

The issue was that I was trying to install:

Visual Studio 2015 Update 1 (x86 and x64) - Web Installer (Multiple Languages)

Not:

Visual Studio Professional 2015 with Update 1 (x86 and x64) - Web Installer (English)

The error message is not helpful, but in my case it meant that i didnt have 2015 installed, so the update 1 couldn't be applied.

msdn forum post here for more info:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/6c531ef3-6c95-4dc9-a9a3-d23cc95b09c3/vs2015-update-1-setup-blocked-update-1-does-not-apply-or-is-blocked-by-another-condition-on-your?forum=vssetup

Just go to command prompt and run the below: SHUTDOWN /r /f /t 0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!