2017-07-04 224 views
-1

我安装了Visual Studio 2015 Enterprise,并且在安装过程中,它花费了太多时间在同一个地方,我想它被卡住了,想取消它。但它也花了太多时间,我强制退出ctrl + alt + del的卸载。之后,我用shift + del删除了安装文件夹,好像我是无知的...Visual Studio 2015损坏的卸载/安装

现在我无法正常安装或卸载VS 2015。当我尝试再次安装时,它会退出很多错误(程序包故障),并且安装路径灰显。

Package Failures

我也尝试安装2015年社区版,但它说的Visual Studio 2015年已安装。

你知道如何完全卸载吗?

+0

您好Gunes K,您可以尝试使用强制卸载命令,如:vs_enterprise_ENU.exe/uninstall/force删除已安装的VS 2015并输入以下命令:vs_community_ENU/CustomInstallPath C:\ VS2015重新安装它。如果它不起作用,请尝试使用提升的PowerShell命令提示符并运行相应的命令以过滤出共享组件并将其卸载,有关详细信息,请检查此类似问题:https://stackoverflow.com/questions/ 33491016 /视觉工作室安装路径 - 灰色。 –

回答

0

我打算使用微软的官方Visual Studio Uninstaller。请尝试以下操作:

Using Total Uninstall: 

Download and unzip the zip file to a folder. 
Open cmd.exe with Administrative privileges 
Execute Setup.ForcedUninstall.exe 
Press Y and hit enter to run the application. 
If the application ask to reboot the system, please reboot the system, and rerun this application again. 

如果无法工作,尝试引用任何的this following document

列出的其他方法,请注意,这不是VS代码的2017年的文件,可以发现here。这就是说,我不认为最新的文档具有你的愿望。让我知道它是如何工作的!

+0

问题是,Visual Studio假定它安装在D:\ VS2015中。但是在D或其他地方没有VS2015文件夹。所以我不能使用Total Uninstaller。 –

+0

@GunesK它给你的默认安装路径是什么?并且包失败是你得到的唯一错误? –

+0

默认的灰色路径是:D:\ VS2015,并且只有在尝试仅安装C++相关软件包时才会出现这些路径。我已经将它安装到我的笔记本电脑中没有任何问题,但由于删除它错误,它没有正确卸载,现在有这个错误。 –

相关问题