Visual Studio 2015卸载失败 [英] Visual Studio 2015 Uninstall Fails

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

问题描述

一些背景:

我想卸载Visual Studio 2015社区,因为每当我尝试使用配置管理器(x86 \ x64 \ ARM)时,它都会崩溃.试图修复或卸载,但是这两个选项失败.

I want to uninstall Visual Studio 2015 Community because whenever I try to use the configuration manager (x86\x64\ARM) it crashes. Tried to repair or uninstall, but those two options fails.

每当我尝试卸载时,卸载都会停止,并显示以下消息:

Whenever I try to uninstall, the uninstall stops with the following message:

安装失败,因为某些必需的组件失败.

Install cannot continue because some required components failed.

下面有一个组件列表:看来问题出在Build Tools Language Resources-amd64,其中在安装过程中发生了致命错误,但是有更多包失败"消息出现.组件:混合,诊断工具,配置文件 工具...

Under it there's a list of components: It seems that the problem is Build Tools Language Resources - amd64, in which a Fatal error occurred during installation, but there are more "package failed" components: blend, diagnostic tools, profiling tools...

试图重新注册安装程序,尝试修复(也无法使用),尝试重新安装构建工具,检查更新(我已更新),似乎没有任何作用.

Tried to re-register installer, tried to repair (doesn't work too), tried to reinstall build tools, check for updates (I'm updated) , nothing seems to work.

我会添加日志文件,但是它太长了……

I would add the log file but it is too long...

推荐答案

您好ByoTic,

Hi ByoTic,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

对于此问题,如果要卸载VS,则前提条件是VS安装程序包在您的计算机上完全存在.

For this question, if you want to uninstall VS, the prerequisite is that the VS installer packages are completely existed well on your machine.

如果无法通过控制面板"进行修复,建议您采取以下步骤强行卸载整个2015 Ultimate CTP:

If the repair from Control Panel doesn't work, I suggest you could take the following steps to uninstall the whole 2015 Ultimate CTP forcibly:

1.下载并安装 http://psmsi.codeplex.com .这些是通用的PowerShell cmdlet.

1.Download and install http://psmsi.codeplex.com. These are general-purpose PowerShell cmdlets.

2.打开提升的PowerShell命令提示符,然后运行以下命令以发现哪些产品已安装了关键共享组件:
get-msicomponentinfo'{777CBCAC-12AB-4A57-A753-4A7D23B484D3}'| get-msiproductinfo

2.Open an elevated PowerShell command prompt and run the following to discover which products have installed the key shared component:
get-msicomponentinfo '{777CBCAC-12AB-4A57-A753-4A7D23B484D3}' | get-msiproductinfo

3.如果可以卸载所有列出的产品(特别是考虑到接下来可能要安装RTM的情况),请运行以下命令:
get-msicomponentinfo'{777CBCAC-12AB-4A57-A753-4A7D23B484D3}'| get-msiproductinfo | uninstall-msiproduct -properties IGNOREDEPENDENCIES = ALL

3.If you’re fine with uninstalling all the listed products (especially given that you’re probably going to install RTM next), run the following:
get-msicomponentinfo '{777CBCAC-12AB-4A57-A753-4A7D23B484D3}' | get-msiproductinfo | uninstall-msiproduct -properties IGNOREDEPENDENCIES=ALL

参考:

完成上述步骤后,请使用 修复它   ,它将解决问题 该程序无法安装或卸载,我知道Visual Studio 2015并未列出,但我们可以解决Visual Studio 2015的问题.

After the above steps, Use Fix It , it will fix the problems that program cannot be installed or uninstalled, I know that visual studio 2015 doesn't list, but we have the case that it fix the issues for visual studio 2015.

然后下载一个好的2015社区ISO,使用FCIV.exe http://support.microsoft.com/kb/841290 来验证ISO的哈希值.

Then download a good 2015 Community ISO, use FCIV.exe http://support.microsoft.com/kb/841290 to verify hash of the ISO.

如果您对此安装有任何疑问,我需要您的安装日志文件来解决此问题,
请使用 http://aka.ms/vscollect 来收集安装日志.使用它之后,您将在%temp%文件夹中找到vslogs.zip.请将文件上传到 https://onedrive.live.com/并在此处共享链接.

If you have any question about this installation,  I need you installation log file to troubleshoot this issue,
please use  http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip from %temp% folder. Please upload the file to  https://onedrive.live.com/ and share the link here.

最好的问候,


这篇关于Visual Studio 2015卸载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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