vs2017社区版无法安装 [英] vs2017 community version failed to install

查看:92
本文介绍了vs2017社区版无法安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

步骤1。首先将vs2017安装到路径D:\programfiles\vs2017,安装成功完成

step1. First install vs2017 to path D:\programfiles\vs2017, installation complete succesfully

step2。添加组件,但发生了一些错误,因此计划重新安装

step2. Add component, but some error occurred, so plan to reinstall

step3。再次执行vs_Community.exe,但它找到错误的路径c:\program files(x86)...

step3. Execute vs_Community.exe again, but it locate to a wrong path c:\program files (x86)...

step4。从控制面板卸载vs2017,并删除  D:\programfiles\vs2017

step4. uninstall vs2017 from control panel, and remove all the files in D:\programfiles\vs2017

step5中的所有文件。再次执行vs_Community.exe,选择组件并开始安装,但是错误面板弹出注意到"安装操作失败",日志如下:

step5. Execute vs_Community.exe again, select components and start install, but a error panel is popping up noticing "install operation failed", log is below:

推荐答案

你好leonkaihao,

Hi leonkaihao,

谢谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

根据您的描述, 根本原因在安装路径上待定。你想在驱动器C:上安装VS 2017,对吗?但是,尽管您希望这样做,但Visual Studio无法与系统
驱动器分开安装在外部驱动器上。因为有许多共享组件将被安装到驱动器C上的共享存储库中:没有任何可能改变其路径的可能性。

From your description,  the root cause is pending on the path of installation. You would like to install the VS 2017 on drive C:, right? but although you want to do so, the Visual Studio couldn't be installed on an external drive separately from system drive. Because there are many shared components which will be installed into shared repositories on drive C:without any possibility to change their path.

为了解决这个问题,我建议你最好完全卸载VS 2017 ,尝试使用
Visual Studio Uninstaller。

To solve this, I suggest you'd better uninstall VS 2017 completely, try with Visual Studio Uninstaller.

创建VS 2017 RC的离线安装程序以修复缺少的实例和组件。请参考此处:

Create an offline installer of VS 2017 RC to repair the missing instance and components. please refer to here:

https://docs.microsoft.com/zh-cn/visualstudio/install/create-an-offline-installation-of-visual-studio#install-from-a-布局

在安装程序安装期间,如何尝试默认安装路径,以缩小某些潜在的路径问题。

During the setup installation, how about trying the default install path, to narrow some potential path problem.

提示:

请暂时禁用AV软件和防火墙,以管理员身份运行设置。清理Temp文件夹。

Please temporarily disable the AV software and firewall, run the setup as administrator. clean the Temp folder.

如果在尝试上述操作后错误仍然存​​在,请随时告诉我,我会尽力帮助您进一步分析和诊断。

If the error still persists after try the above, please feel free to tell me, I will try to help you for further analyze and diagnose.

祝你好运,

然后

Then


这篇关于vs2017社区版无法安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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