且构网

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

Visual Studio 2017社区版无法安装

更新时间:2021-10-18 08:45:13

嗨ALaMark,

欢迎来到MSDN论坛。

你之前安装过VS 2015或VS 2017吗?

请按照以下步骤进行操作以解决问题:


  1. 运行
    修复它
    工具以自动修复问题,包括阻止您安装或删除程序的损坏的注册表项。然后再次重新运行安装程序。
  2. 看看你是否有这个文件:
    C:\Program Files(x86)\ Microsoft Visual Studio\Installer\resources\app\\ \\ _outout 在您的机器上。
    如果是,请导航到此路径,
    find
    InstallCleanup.exe
    使用-full从管理命令提示符启动它param:
    InstallCleanup.exe -full。 如果没有,请手动删除"%programfiles(x86)%\ Microsoft Visual Studio \Installer"文件夹。

  3. 然后从此链接重新启动新下载的vs_community.exe:

    https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com& utm_campaign = button + cta& utm_content = download + vs2017
    ,允许安装安装程序的第一步,安装程序启动后你可以看到
    工作负载选择(.net桌面等),关闭它。
  4. 删除以下文件夹:
    C: \ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.OfficeInte gration.Resources,版本= 15.129.28124.3,芯片= 64。
    然后重新运行安装程序进行测试。
  1. Run Fix it tool to automatically repair issues including corrupted registry keys that block you from installing or removing programs. Then re-run installer again.
  2. See if you have this file: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout on your machine. If yes, please navigate to this path, find InstallCleanup.exe and launch it from an admin command prompt with a -full param: InstallCleanup.exe –full. If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer" folder.
  3. Then relaunch the newly downloaded vs_community.exe from this link: https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017 , Allow the first step to install the installer, Once the installer comes up and you can see workload choices (.net desktop and the like), close it.
  4. deleting the following folder: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.OfficeIntegration.Resources,version=15.129.28124.3,chip=x64. Then re-run installer to test.

如果以上都不起作用,请确保所有Windows更新都是up-and -date,禁用防病毒软件,清理%temp%文件夹。然后使用VS离线安装程序安装VS 2017,更多
详细信息请参考:
https://docs.microsoft。 com / zh-CN / visualstudio / install / create-an-offline-installation-of-visual-studio?view = vs-2017

If all of above not work, please make sure all Windows update is up-and –date, disable anti-virus software, clean-up %temp% folder. then use VS offline installer to install VS 2017, more detail info please refer to: https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2017 .

期待你的回复。

***的问候

可能