Ok. The problem seems to be a certificate problem. Here is the information from the C:\Users\Ray\AppData\Local\Temp\VSFaultInfo\210125_103942_7994524\ErrorInformation.txt file
Error Information
AppInsightsEvent Name = vs/setup/bootstrapper/error
Description = Failure to download
TelemetrySession = 'bfad9795-09f4-4f7c-a820-d8706656168a' Started = True OptIn=True IsInitialized = True Cloned = False
WatsonEventType = VisualStudioNonFatalErrors2
UTC time = 2021-01-25T10:39:42
Exception:
Microsoft.VisualStudio.Setup.Security.InvalidSignatureException
Certificate is invalid: vs_installer.opc
Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
The bootstrap program is no longer looping because I changed the permissions on the AppData folder and all subfolders. But still no launch of the VS Installer because of this certificate issue.
I have downloaded a copy of vs-installer.opc. What do I do with it?
Here is the bootstrap log :
Beginning of the log. Start Time: 25/01/2021 11:47:15
VisualStudio Bootstrapper:25/01/2021 11:47:15: Commandline arguments = --env,_SFX_CAB_EXE_PACKAGE:C:\Users\Ray\Downloads\vs_community__1056278425.1611503098.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\Ray\Downloads
VisualStudio Bootstrapper:25/01/2021 11:47:15: Parent process name = vs_community__1056278425.1611503098
VisualStudio Bootstrapper:25/01/2021 11:47:15: Parent process product version = 16.8.30907.101
VisualStudio Bootstrapper:25/01/2021 11:47:15: CampaignId = 1056278425.1611503098
VisualStudio Bootstrapper:25/01/2021 11:47:15: ResponseId not available in 'vs_setup_bootstrapper.config'. Trying to parse filename.
VisualStudio Bootstrapper:25/01/2021 11:47:15: loading config settings: -update --update --layout -offline --offline --locale --layout --originalworkingdir --installLayoutPath --env
VisualStudio Bootstrapper:25/01/2021 11:47:16: DownloadURL = https://aka.ms/vs/16/release/installer
VisualStudio Bootstrapper:25/01/2021 11:47:16: InstallLocation = C:\Program Files (x86)\Microsoft Visual Studio\Installer
VisualStudio Bootstrapper:25/01/2021 11:47:16: OfflineFilePath = C:\Users\Ray\Downloads\vs_installer.opc
VisualStudio Bootstrapper:25/01/2021 11:47:16: LayoutLocation =
VisualStudio Bootstrapper:25/01/2021 11:47:16: ExecutableArguments = /finalizeInstall install --layoutPath "C:\Users\Ray\Downloads" --in "C:\ProgramData\Microsoft\VisualStudio\Packages_bootstrapper\vs_setup_bootstrapper_202101251147156508.json" --locale en-US --activityId "01214aac-785e-4451-8b6b-5b4c0ae5bbb7" --campaign "1056278425.1611503098"
VisualStudio Bootstrapper:25/01/2021 11:47:16: OSVersion = Microsoft Windows NT 6.1.7601 Service Pack 1
VisualStudio Bootstrapper:25/01/2021 11:47:16: Starting to detect the existing VS and .NET...
VisualStudio Bootstrapper:25/01/2021 11:47:16: Finished detecting the existing VS and .Net
VisualStudio Bootstrapper:25/01/2021 11:47:18: Using Offline package: C:\Users\Ray\Downloads\vs_installer.opc
VisualStudio Bootstrapper:25/01/2021 11:47:18: Saving Certificates to layout folder
VisualStudio Bootstrapper:25/01/2021 11:47:19: Certificate is invalid: C:\Users\Ray\Downloads\vs_installer.opc
VisualStudio Bootstrapper:25/01/2021 11:47:19: Unable to verify the certificate: InvalidCertificate
VisualStudio Bootstrapper:25/01/2021 11:47:19: Caught Exception: Type = InvalidOperationException, Message = Unable to verify the integrity of the installation files: the certificate could not be verified, StackTrace = at Microsoft.VisualStudio.Setup.OpcVerifier.Verify(Stream packageStream, String layoutLocation)
at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.VerifyLayoutPackage(Stream packageStream)
VisualStudio Bootstrapper:25/01/2021 11:47:19: Signature verification failed. Error: Unable to verify the integrity of the installation files: the certificate could not be verified.
VisualStudio Bootstrapper:25/01/2021 11:47:19: Bootstrapper failed with known error.
Thanks