Microsoft Visual Studio 2015 安装错误

Microsoft Visual Studio 2015 Installation error

我 运行 遇到 Visual Studio 2015 的大麻烦。我不小心删除了程序数据中的 Visual Studio 2014 文件夹。之后我再也不能运行了。然后我用其他工具卸载了再安装,重复了几次。但是每次安装完成后,当我打开 Visual Studio 2015 时都会出现错误

   **An error occurred during installation. Error code:-2147023293.**

并且 Visual Studio 2015 变得无响应。我该如何解决这个问题?

And Visual Studio 2015 becomes unresponsive. How can I fix this ?

首先,感谢 Stein 与我们分享有用的信息。

根据您的问题,您可以尝试以下步骤:

1)在此之前,请确保您的Windows是最新的,如果不是,请尝试更新到最新版本。

如果更新损坏,请参考[以下指南](https://support.microsoft.com/en-us/help/10164/fix-windows-update-errors ) 修复它。

2)打开vs2015安装程序然后点击修复选项,在此之前,你应该运行程序作为管理员

3)如果没有,请尝试在控制面板[=]下的程序和功能卸载VS2015 41=] as Stein suggested 然后重新安装 VS2015.

注意:安装过程中请暂时关闭所有杀毒软件

在此过程中,您可以使用collect.exe tool. Please download and run this , go to %temp% folder and find the vslogs.zip file, upload it to https://onedrive.live.com/收集您的安装日志,并在此分享link。

我只是格式化了我的电脑并重新安装了 VS2015。这是快速而巧妙的解决方案。