Microsoft Visual Studio“安装程序被阻止”

2023-12-31

当我尝试安装 Microsoft Visual Studio 2015 时,出现错误“安装程序被阻止”。告诉我:“需要重新启动计算机才能继续安装。请重新启动计算机并再次运行安装程序。” 这样做了之后还是不行... 我使用的是 Windows 10 Build 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

and this http://pastebin.com/BdzExZCG is 完整日志 http://pastebin.com/BdzExZCG


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

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

powercfg.exe /hibernate off

运行后,重新启动计算机,设置就可以工作了。您可以使用以下命令再次打开它

powercfg.exe /hibernate on
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Microsoft Visual Studio“安装程序被阻止” 的相关文章

随机推荐

  • 如何从 Android 的 xml 字符串资源中检索 2D 数组?

    假设我在 android 资源中存储了一个二维数组 如下所示 如何将它们放入像 Arraylist 这样的 java 集合中
  • Google App Engine 上的 Spring security openid

    有人知道如何让 Spring security openid 在 Google App Engine 上工作吗 我试过了 但是有一个java security AccessControlException access denied err
  • 在 spacy 的帮助下合并几乎相似的行

    如果某些行几乎相似 我想合并它们 可以使用 spaCy 检查相似性 df string yellow color yellow color looks like yellow color bright red color okay red
  • 将数据传递到 django 表单

    class Test forms Form def set choices self choices self choices choices def get choices self return self choices options
  • 查看 TeamCity 服务消息

    我正在对 TeamCity 9 0 4 中的构建步骤进行故障排除 问题似乎出在服务消息输出中 构建完成后可以查看这些吗 它们不包含在构建日志中 关于服务消息的文档简单地说In order to be processed by TeamCit
  • 使用 jQuery 获取锚元素的绝对 URL

    给定一个锚元素 类似于 a first 如何获取锚点指向的绝对URL 如果您使用的是 jQuery 1 6 您可以使用 prop a first prop href 1 6之前 您可以访问href直接在 DOM 元素上使用属性 a firs
  • 访问结果集行中的值,其中该值来自 MySQL 函数调用

    因此 由于普通的 PHP 查询返回一个数组 所以从未向我解释过当列值是 MySQL 函数调用的返回值时 如何实际从查询的结果集数组中提取值 countThemes Singlequery SELECT COUNT 1 FROM items
  • 如何正确增加 mongoDB 中的多个日期?

    我不是一个特别擅长 Javascript 的人 我在尝试更新很多内容时遇到了一些麻烦DateMongo 中的对象 看起来 inc尚未实施Date objects https jira mongodb org browse SERVER 31
  • Facebook OAuth api 登录问题

    我对用于登录的 Facebook API 感到困惑 我在网上找不到任何有用的信息 我的 FB 会话委托方法没有被调用 并且访问令牌和过期日期值没有被设置 所以我认为我从未登录过 我恢复到一个非常简单的应用程序 只有两个按钮 登录 注销 和一
  • openFrameworks 与处理

    我已经阅读了很多有关 openFrameworks 和 Processing 的内容 但仍然无法区分 除了一个是 C 中的 另一个是 Java 中的 有人能告诉我哪个具体是做什么用的吗 你是对的 一个是 C 另一个是 Java 这些差异适用
  • Graphql: "message": "ID 不能代表值: 5a72240cf31713598588b70f"

    I use moongose与 一起工作mongodb on nodejs基于应用程序 目前 我尝试实施Grapqhl基于API 我的查询graphql架构如下所示 const schema buildSchema type Query p
  • ng-show 当数组长度为零时

    我是 AngularJS 的初学者 我试图在过滤过程中在 的帮助下显示 未找到标签 ng show JS function simpleController scope scope tags HTML CSS Jquery Bootstra
  • 如何在 bookshelf.js 中获取 SQLSTATE?

    在与 PostgreSQL 或其他 RDBMS 通信时 如何检测 bookshelf js 中发生的错误类型 提示者 这个问题 https stackoverflow com q 43815157 398670 我自己不使用 bookshe
  • 如何在 PHP 中转义引号? [关闭]

    Closed 这个问题需要细节或清晰度 help closed questions 目前不接受答案 我有那个代码 a href Add an Img a 我不知道如何把它放在这里echo code 这会起作用 已测试
  • 如何使用设置了“num_epochs”的“read_batch_examples”创建“input_fn”?

    我有一个基本的input fn可以与下面的 Tensorflow 估计器一起使用 无需设置即可完美运行num epochs范围 获得的张量具有离散形状 传入num epochs与其他任何事物一样None结果是未知的形状 我的问题在于在使用时
  • React-MobX 错误:“decorators”插件需要“decoratorsBeforeExport”选项,其值必须是布尔值

    我收到以下错误 如果您从 Babylon Babel 6 迁移或想要使用旧的装饰器提案 则应该使用 decorators legacy 插件而不是 decorators 包 json babel plugin proposal decora
  • 具有初始容量的 Powershell 哈希表

    我想知道你如何在 powershell 中声明具有初始容量的哈希表 我知道我想要它有多大 但我必须在循环中为其分配值 所以像这样 hashtable 100 杰伦 莫斯特 https stackoverflow com users 4137
  • Win32 与 .Net [关闭]

    Closed 这个问题是基于意见的 help closed questions 目前不接受答案 NET 比 Win32 更好还是相反 两者的优缺点是什么 在什么情况下一个会比另一个更好 Microsoft 是否已发布 Net 作为 Win3
  • 离开同步块时自动notify()/notifyAll() [关闭]

    就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
  • Microsoft Visual Studio“安装程序被阻止”

    当我尝试安装 Microsoft Visual Studio 2015 时 出现错误 安装程序被阻止 告诉我 需要重新启动计算机才能继续安装 请重新启动计算机并再次运行安装程序 这样做了之后还是不行 我使用的是 Windows 10 Bui