Reputation: 942
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.
I found this question with a similar problem but the answer didn't work for me. Any ideas?
Upvotes: 3
Views: 6371
Reputation: 171
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)
Upvotes: 0
Reputation: 785
TL;DR The problem can be in optimized (tweaked) system. Enable services that was originally on.
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
The first step is to install the certificates.
If the error still there, then check system services ( + 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.
Upvotes: 4
Reputation: 89
I was also facing same issue which you are facing. As a troubleshooting,I found that now a days, files download from aka.ms. Due to some reason you might not be reachable from your machine.
To find out issue, you should first run fiddler and then start installation of Visual studio 2017. Find from where your exe is trying to download file for installation.
Once you could find URL like I got "aka.ms". Try to ping on that domain to verify connection and then try to open that URL from your computer.
If everything will be fine as I have explained your setup will download files.
Another Problem may be you have to install all the certificates as shown below:
Upvotes: 1