Visual Studio 2017重新安装问题 [英] Visual Studio 2017 re-installation problem

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

问题描述

在重新安装Visual Studio期间遇到错误时,请尝试转到临时目录并删除所有文件。在没有运气的情况下尝试了所有其他建议之后,我做了这个并安装没有故障

When encountering an error during re-installation of Visual Studio try and go to temp directory and delete all files. After having tried all the other advice here with no luck I did that and it installed without a glitch

推荐答案

Hi Fireblade457,

Hi Fireblade457,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

听说您的计算机上仍然存在某些与VS相关的组件,您可以尝试删除现有的VS 2017之前的安装失败如下:

Sounds that there are still some VS related components remaining on your machine, you can try to remove the existing VS 2017 that install failed before as below:

1。转到控制面板>程序和功能,如果有~Microsoft Visual Studio 2017",右键单击它并选择"卸载"

1. Go to Control Panel>Programs and Features, if there has ˜Microsoft Visual Studio 2017", right click it and choose "Uninstall"

2。尝试删除以下已安装的文件夹:

2. Try to delete the following installed folders:

转到文件夹: %ProgramData%\ Microsoft /\\VisualStudio 并删除"包裹"文件夹和
〜设置" 文件夹(如果有)。

Go to the folder: %ProgramData%\Microsoft\VisualStudio and delete the "Packages" folder and ˜Setup" folder if there has.

转到Visual Studio安装文件夹(通常位于 %ProgramFiles(x86)%\ Mesrosoft Visual Studio )并删除文件夹" 2017"

Go to the Visual Studio installation folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio) and delete the folder "2017"

3。请运行
修复它
工具来修复阻止程序被安装或删除的问题。

3. Please run Fix it tool to fix problems that block programs from being installed or removed.

4。然后尝试使用
Visual Studio卸载程序
来彻底卸载整个VS,您可以运行它几次。

4. Then try with the Visual Studio Uninstaller to uninstall the Whole VS cleanly, you can run it a couple of times.

之后,确保Windows更新是最新的,清理%temp%文件夹并暂时禁用任何防病毒软件,重新启动计算机并重新运行VS 2017 RTM安装程序再次作为管理员。

After that, make sure windows update is up-to-date, clean up the %temp% folder and temporarily disable any antivirus software, reboot the computer and re-run the VS 2017 RTM installer as administrator again.

最好的问候,


这篇关于Visual Studio 2017重新安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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