更新Visual Studio 2017 15.6.2时出错 [英] Error updating Visual Studio 2017 15.6.2

查看:135
本文介绍了更新Visual Studio 2017 15.6.2时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将VS 2017更新为15.6.2版本.像往常一样,VS要求我更新安装程序.但是安装程序更新失败,现在,当我尝试再次启动VS更新时,出现以下错误消息:

I was trying to update VS 2017 to 15.6.2 version. As usual VS asked me to update the Installer. But the Installer updating failed and now, when I try to launch the VS updating again, I get this error message:

加载vs_installershell.exe时出错:主题中没有签名.

Error loading vs_installershell.exe: No signature was present in the subject.

有人见过吗?任何帮助将不胜感激.

Anyone has ever seen this before? Any help will be appreciated.

推荐答案

在这种情况下,Microsoft建议执行以下过程:

Microsoft recommends the following procedure in this case:

  1. 关闭Visual Studio安装程序.
  2. 删除Visual Studio安装程序目录.通常,该目录为C:\Program Files (x86)\Microsoft Visual Studio\Installer.
  3. 运行Visual Studio安装程序引导程序.您可能会在下载"文件夹中找到引导程序,其文件名遵循vs_[Visual Studio edition]__*.exe模式.如果找不到该应用程序,则可以通过访问 Visual Studio下载页面,然后为您的Visual Studio版本单击下载.运行可执行文件以重置安装元数据.
  4. 尝试再次安装或更新Visual Studio.如果安装程序继续失败,请转到下一步.
  1. Close the Visual Studio Installer.
  2. Delete the Visual Studio Installer directory. Typically, the directory is C:\Program Files (x86)\Microsoft Visual Studio\Installer.
  3. Run the Visual Studio Installer bootstrapper. You may find the bootstrapper in your Downloads folder with a file name that follows a vs_[Visual Studio edition]__*.exe pattern. If you don't find that application, you can download the bootstrapper by going to the Visual Studio downloads page and clicking Download for your edition of Visual Studio. Run the executable to reset your installation metadata.
  4. Try to install or update Visual Studio again. If the Installer continues to fail, go to the next step.

还有一点警告:

执行以下操作将重新安装Visual Studio安装程序文件并重置安装元数据.

Performing the following actions reinstalls the Visual Studio Installer files and resets the installation metadata.

但是最后,它会重新安装VS Updater.

But in the end, it reinstalls the VS Updater.

来源: https://docs.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues

这篇关于更新Visual Studio 2017 15.6.2时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆