Visual Studio 2017 - Can't install

Viewed 5834

I'm trying to install Visual Studio 2017 Community because the last version i had, was a pre-Release of the same version. But now i can't keep using the program because it forces me to update to a new one.

The problem

I found this question with a similar problem but the answer didn't work for me. Any ideas?

4 Answers

TL;DR The problem can be in optimized (tweaked) system. Enable services that was originally on.

Read log file

If you are sure that there is no any of internet / firewall issues, all updates are installed (to meet requirements, especially for .NET Framework), then you should check log file in %TEMP% directory. A path something like C:\Users\<username>\AppData\Local\Temp\dd_bootstrapper_<date and time of last run>.log.

I'd expect, that it says:

Verifying signature

Caught Exception: Type = CryptographicException, Message = There are no more endpoints available from the endpoint mapper

Fix cryptographic exception

The first step is to install the certificates.

If the error still there, then check system services (Windows Key + R, type services.msc). Go through all list, read descriptions and search for certificates, private and public keys. I started CNG key isolation service (KeyIso) and magically the installer became normal.


Also I think this Uninstaller can be useful for everyone who did upgrade from previous version (2013, 2015) like me.

The log at %TEMP% showed a certificate problem .

Since the machine was an old windows 7, I had to update IE8 to IE11 so the installer could download. It wasn't installing yet. I had to set IE security level from medium-high to medium.

The log was:

VisualStudio Bootstrapper:7/15/2020 12:32:35 PM: Download failed using WebClient engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Certificate is invalid: vs_installer.opc    at Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
Related