VS 2017 RC 安装期间出现错误 0x80004003 [英] Error 0x80004003 during VS 2017 RC install

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

问题描述

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

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 FilesMicrosoft Visual Studio
  2. C:ProgramDataMicrosoftVisualStudio
  3. %LocalAppData%MicrosoftVisualStudio

下载并安装 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天全站免登陆