VS 2017 RC 安装过程中出现错误 0x80004003 [英] Error 0x80004003 during VS 2017 RC install

查看:27
本文介绍了VS 2017 RC 安装过程中出现错误 0x80004003的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行的是 Windows 10,没有挂起的更新,我现在运行 sfc/scan 和 DISM.exe/Online/Cleanup-image/Restorehealth 都没有报告问题.我尝试安装企业、专业和社区,并使用 --layout 标志为专业构建本地安装程序,所有这些都会产生相同的错误.我还尝试卸载 Visual Studio 2015 Enterprise 和各种其他 Visual Studio 位、resharper 和 ncrunch.

I'm running Windows 10, no pending updates, I've run sfc /scan now and DISM.exe /Online /Cleanup-image /Restorehealth neither of which reported issues. I've tried installing enterprise, professional and community and built the local installer with the --layout flag for professional all of which produce the same error. I have also tried uninstalling visual studio 2015 enterprise and a variety of other visual studio bits, resharper and ncrunch.

[3604:0011][2016-11-19T11:06:58] Error 0x80004003: 
   0x80004003 at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()
   at Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__25.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services, String installationPath, IInstance instance, IQuery query)
   at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)Object reference not set to an instance of an object.

推荐答案

来自 此评论:

经过多次尝试安装新预览版后,我终于设法将其设置在我的计算机中.在这里,我分享我所做的.

After many times of trying to install the new preview, I at last managed to set it down in my computer. Here I share what I have done.

首先你必须从控制面板——程序——卸载或修改程序中卸载已安装的 Microsoft Visual Studio 安装程序

First you must uninstall the installed Microsoft Visual Studio Installer from the Control Panel — Programms–Uninstall Or Modify Programs

然后删除以下文件夹中与VisualStudio15预览版相关的已安装文件:

Then delete the installed files related to the preview version of VisualStudio15 in the following folders:

  1. C:\Program Files\Microsoft Visual Studio
  2. C:\ProgramData\Microsoft\VisualStudio
  3. %LocalAppData%\Microsoft\VisualStudio

下载并安装 vs_Enterprise.exe

Download and install the vs_Enterprise.exe

当需要的文件下载完成后,您可以安装它们,然后您就会看到visual studio IDE

When complete downloading files needed, you can install them, then you see the visual studio IDE

这篇关于VS 2017 RC 安装过程中出现错误 0x80004003的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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