Visual Studio 2017 Community Edition Installation Failure

3

I am really struggling to get VS 2017 Community Edition to install successfully on my laptop.

The installer runs but after making my selection of components and clicking install, it fails. The log shows the error code - 0x80004003. After checking this code, I followed the suggestion given in Stackoverflow "Error 0x80004003 during VS 2017 RC install" by removing the installer, folders, and the files in the AppData folder. This made absolutely NO DIFFERENCE. It will still NOT INSTALL. I have checked the free HD size and there is a good 21GB free.

Output from log:

[27ac:000e][2016-12-10T17:28:30] Error 0x80004003: at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance() at Microsoft.VisualStudio.Setup.Cache.CacheRepository.d__25.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 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.

Does anyone have any good ideas?

visual-studio
asked on Stack Overflow Dec 10, 2016 by Andy5 • edited Dec 10, 2016 by Andy5

2 Answers

0

I found a zombie VS2015 install process. Reboot or unlock K:\ProgramData\Microsoft\VisualStudio\Packages{_instances|_bootstrap}. Installs like a charm now.

answered on Stack Overflow Mar 11, 2017 by dr d b karron
-2

I had to reset Windows 10 Anniversary Framework to target x86 x64 applications and also to repair the Framework installer. Somehow or other updates had caused a problem where I was constantly getting a generic CLR error which didn't really mean much. Once I corrected this, the Microsoft instructions for downloading and creating an offline installer worked perfectly for the total package which included all workloadds.

answered on Stack Overflow Mar 15, 2017 by Charles OHearn

User contributions licensed under CC BY-SA 3.0