且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio 2017重新安装问题

更新时间:2023-02-21 22:37:32

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.

***的问候,