金庆的专栏

  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  423 随笔 :: 0 文章 :: 454 评论 :: 0 Trackbacks
解决vs2017无法安装问题

(金庆的专栏 2018.11)

从官网下载了 vs_community__1600125377.1541561546.exe,但是运行安装时无法出现产品选择界面。

查看 Temp 目录下的日志,没有发现错误。

搜索一下,发现有大量的同类错误:

* VS : How to fix stuck Visual Studio Community installation problem
    https://www.howtosolutions.net/2015/08/solving-installation-is-stuck-problem-in-visual-studio-community-edition/
* Resolving Installation Issues with Visual Studio 2017
    http://rion.io/2017/02/17/resolving-installation-issues-with-visual-studio-2017/
* Unable to start vs_installer.exe to install VS2017 Community
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/fc8f5a04-8687-48dd-987e-1cfac67566a1/unable-to-start-vsinstallerexe-to-install-vs2017-community?forum=vssetup
* VS 2017 Installer quits before starting
    https://developercommunity.visualstudio.com/content/problem/8993/vs-2017-installer-quits-before-starting.html
* VS2017无法进入安装界面问题的解决方法 - 厚积薄发,持之以恒 - CSDN博客
    https://blog.csdn.net/qq951127336/article/details/71036868
* VS2017安装时自动退出_yanggy_新浪博客
    http://blog.sina.com.cn/s/blog_702b606a0102y6n3.html

但是都没有用。

从以上方案中了解到,`C:\Program Files (x86)\Microsoft Visual Studio\Installer`可能存在坏文件,所以无法安装。
但是清理之后重新下载,仍然是同样情况。

试着运行了其中的 vs_installer.exe,弹出界面说有兼容性错误,可以选择修复。
修复之后,vs_installer.exe 就出现产品选择界面了。

然后再运行 vs_community__1600125377.1541561546.exe,就可以出现产品选择界面了。

问题可能是这个 Installer 安装不对,可能是选择了错误的版本,删除后重新下载还是一样,还好可以手动修复一下。

现在正在安装 vs2017.
posted on 2018-11-12 10:19 金庆 阅读(1079) 评论(0)  编辑 收藏 引用 所属分类: 9. 其它

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理