Installation Microsoft visual studio“;“设置被阻止”;

Installation Microsoft visual studio“;“设置被阻止”;,installation,visual-studio-2015,windows-10,blocked,Installation,Visual Studio 2015,Windows 10,Blocked,当我尝试安装Microsoft visual studio 2015时,会出现错误“安装程序被阻止”。告诉我:“需要重新启动计算机,安装程序才能继续。请重新启动计算机,然后再次运行安装程序。” 这样做之后,它仍然不起作用。。。 我使用的是Windows10版本10130 这是日志文件的最后一位: [0A60:1530][2015-07-10T18:48:06]i101: Detected package: VSSetupUtility_Complete_vs_community, sta

当我尝试安装Microsoft visual studio 2015时,会出现错误“安装程序被阻止”。告诉我:“需要重新启动计算机,安装程序才能继续。请重新启动计算机,然后再次运行安装程序。” 这样做之后,它仍然不起作用。。。 我使用的是Windows10版本10130 这是日志文件的最后一位:

    [0A60:1530][2015-07-10T18:48:06]i101: Detected package: VSSetupUtility_Complete_vs_community, state: Absent, cached: None
    [0A60:1530][2015-07-10T18:48:06]i000: MUX:  Setup update feature is enabled. Evaluating conditions to determine whether to run setup update.
    [0A60:1530][2015-07-10T18:48:06]i000: MUX:  Checking http://go.microsoft.com/fwlink/?LinkID=500683 for update.
    [0A60:1530][2015-07-10T18:48:07]e000: MUX:  Exception: Info: Could not download update data.
    [0A60:1530][2015-07-10T18:48:07]e000: MUX:  WARNING: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method.
    [0A60:1530][2015-07-10T18:48:07]e000: MUX:  Stack:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
       at System.Xml.XmlDocument.Load(XmlReader reader)
       at Microsoft.Devdiv.Bootstrapper.DownloadManager.DownloadXml(String url, Int32& returnCode)
    [0A60:1530][2015-07-10T18:48:07]i000: MUX:  Failed to download the update xml file from http://go.microsoft.com/fwlink/?LinkID=500683 Setup will not be updated.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (WindowsBuildNumber < 9600)' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'CompatibilityMode = 0' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'NOT((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(NOT IsLanguagePack) AND ( CurrentOperation = "Install" ) AND ( FLP_Version > v14.0.22823 )' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'RebootPending = 1' evaluates to true.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'NOT (IEsvcVersionExists) OR (IEsvcVersion < v10.0)' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT < v6.2) AND ((NetworkAvailable = 0) OR (DisableRootAutoUpdate = 1)) AND NOT ((MicrosoftRootCertificateAuthority2011RootExists OR MicrosoftRootCertificateAuthority2011AuthRootExists) AND (MicrosoftRootCertificateAuthority2010RootExists OR MicrosoftRootCertificateAuthority2010AuthRootExists))' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '( CurrentOperation = "Install" AND EnterpriseExists )' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '( CurrentOperation = "Install" AND UltimateExists )' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '( CurrentOperation = "Install" AND NOT EnterpriseExists AND ProfessionalExists)' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (KB2919355_amd64_CurrentState <> 112 AND KB2919355_x86_CurrentState <> 112)' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (netfxfullredist_43_DetectKey < v4.5.22816)' evaluates to false.
    [0A60:1530][2015-07-10T18:48:07]i000: MUX:  Stop Block: SystemRebootPendingBlock : The computer needs to be restarted before setup can continue. Please restart the computer and run setup again.
    [0A60:1530][2015-07-10T18:48:07]i000: MUX:  Detect Completed
    [0A60:1530][2015-07-10T18:48:07]i000: MUX:  Wait for View to be loaded
    [0A60:139C][2015-07-10T18:48:07]i000: MUX:  Detect Completed, now create view
    [0A60:1530][2015-07-10T18:48:08]i000: MUX:  View loaded
    [0A60:1530][2015-07-10T18:48:08]i000: MUX:  Stop Block: SystemRebootPendingBlock : The computer needs to be restarted before setup can continue. Please restart the computer and run setup again.
    [0A60:1530][2015-07-10T18:48:08]i000: MUX:  Go to Blocker page.
    [0A60:1530][2015-07-10T18:48:08]i199: Detect complete, result: 0x0
[0A60:1530][2015-07-10T18:48:06]i101:检测到的包:VSSetupUtility_Complete_vs_community,状态:缺席,缓存:无
[0A60:1530][2015-07-10T18:48:06]i000:MUX:设置更新功能已启用。评估条件以确定是否运行安装程序更新。
[0A60:1530][2015-07-10T18:48:06]i000:MUX:正在检查http://go.microsoft.com/fwlink/?LinkID=500683 更新。
[0A60:1530][2015-07-10T18:48:07]e000:MUX:异常:信息:无法下载更新数据。
[0A60:1530][2015-07-10T18:48:07]e000:MUX:警告:出于安全原因,此XML文档中禁止DTD。要启用DTD处理,请将XmlReaderSettings上的ProhibitDtd属性设置为false,并将设置传递给XmlReader.Create方法。
[0A60:1530][2015-07-10T18:48:07]e000:MUX:Stack:at System.Xml.XmlTextReaderImpl.Throw(异常e)
位于System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(字符串资源,字符串参数)
位于System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()处
位于System.Xml.XmlTextReaderImpl.ParseDocumentContent()处
位于System.Xml.XmlTextReaderImpl.Read()处
在System.Xml.XmlLoader.Load(XmlDocument文档、XmlReader阅读器、布尔保留空格)
在System.Xml.XmlDocument.Load处(XmlReader)
位于Microsoft.Devdiv.Bootstrapper.DownloadManager.DownloadXml(字符串url、Int32和返回代码)
[0A60:1530][2015-07-10T18:48:07]i000:MUX:未能从下载更新xml文件http://go.microsoft.com/fwlink/?LinkID=500683 安装程序将不会更新。
[0A60:1530][2015-07-10T18:48:07]i052:条件(VersionNT=v6.3)和(WindowsBuildNumber<9600)的计算结果为false。
[0A60:1530][2015-07-10T18:48:07]i052:条件“CompatibilityMode=0”的计算结果为false。
[0A60:1530][2015-07-10T18:48:07]i052:条件“非((VersionNT>v6.1)或(VersionNT=v6.1且ServicePackLevel>=1))计算结果为false。
[0A60:1530][2015-07-10T18:48:07]i052:条件“(非IsLanguagePack)和(CurrentOperation=“Install”)以及(FLP_版本>v14.0.22823)的计算结果为false。
[0A60:1530][2015-07-10T18:48:07]i052:条件“RebootPending=1”的计算结果为true。
[0A60:1530][2015-07-10T18:48:07]i052:条件“非(IESVVersionExists)或(IESVVersion

而且是

从Windows 8开始,似乎关闭实际上并没有关闭计算机,而是将其休眠。这会导致安装程序需要操作的系统文件继续被使用

您可以通过以管理员身份运行以下命令来关闭休眠:

powercfg.exe /hibernate off
运行后,重新启动计算机,安装程序应能正常工作。您可以使用重新打开它

powercfg.exe /hibernate on

您也可以进入控制面板;电力选择;选择电源按钮的功能;更改当前不可用的设置;然后取消选中“打开快速启动(推荐)”复选框,保存更改,然后关机。

您有两个选择:

  • 重新启动电脑(不要关机!)

  • 如果您不想重新启动电脑,只需在安装前使用脚本即可

    • 我遇到了这个问题,但我的问题完全不同

      问题是我正在尝试安装:

      Visual Studio 2015更新1(x86和x64)-Web安装程序(多种语言)

      不是:

      Visual Studio Professional 2015及其更新1(x86和x64)-Web安装程序(英语)

      错误消息没有帮助,但在我的情况下,这意味着我没有安装2015,因此无法应用更新1

      msdn论坛发布在此处以获取更多信息:


      我通过以下方式绕过了Windows 7 x64上的相同错误:

      • 清空窗口