Visual Studio 2017 RC installation operation failed

First I tried to install VS 2017 RC and there was a problem during installation. I tried to restore the installation, but while it was being repaired - my computer had a blue screen (maybe not related to the installation, I ran many programs). Now, when I try to install VS 2017, it instantly gives me this error log and says: "The installation operation failed." What should I do to fix this?

Error Log:

[29cc: 0004] [2016-12-22T07: 39: 53] Error 0x80004003: in Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance () in Microsoft.VisualStudio.Setup.Cache.CacheRepository.d__27.MoveNext () in System.Linq.Enumerable.FirstOrDefault [TSource] (IEnumerable 1 source, Func 2 predicate) in Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath (IServiceProvider services, String installationPath, IInstance instance, IQuery query) in Microsoft.VisualEudio.Set .Install (Product product, String destination, CancellationToken token) The object reference is not installed in the object instance.

I tried posting to the VS developer community, but it is instantly flagged as duplicated and linked to other duplicates that reference other duplicates that have no solution.

+7
installation visual-studio ide development-environment
source share
2 answers

Refer to the error message, you can try to delete the existing VS 2017 RC that installed the failure, as shown below:

  • Go to Control Panel-Programs and Features, if you have Microsoft Visual Studio 2017, right-click it and select "Uninstall

  • Try deleting the following installed folders: (you can back up these folders before any changes if we need a rollback)

• Go to the folder:% ProgramData% \ Microsoft \ VisualStudio and delete the “Packages” and “Installation folder” folders, if any.

• Go to the Visual Studio installation folder (usually in% ProgramFiles (x86)% \ Microsoft Visual Studio) and delete the '2017 folder

After that, make sure that the Windows update is updated, clear the% temp% folder and temporarily disable any antivirus software, restart the computer and run the RC VS 2017 installer again as an administrator.

+20
source share

A common problem is that when you go to the download page, it automatically downloads the x64 version of VS. So, create a Dev account (for free), then go to download from the dev home page and select the version you want to download and check x86. Hope this helps!

0
source share

All Articles