Visual Studio 2019 error - Unable to download installation files, check your internet connection and try again.

Anonymus King 11 Reputation points
2021-01-03T16:52:17.11+00:00

I have problem with VS 2019.
I download and run installation and got error
"Unable to download installation files. Check your internet connection and try again."
I did all ways to fix and nothing (offline install, install certificat...)
52962-image-2021-01-03-175117.png

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,058 questions
{count} vote

8 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,116 Reputation points Microsoft Vendor
    2021-01-07T08:11:12.077+00:00

    Hi @Anonymus King , could you tell me what your Windows version is? Please check for updates and ensure that all pending and recommended Windows Updates are completed. Then, retry the installation.

    If it still persists, we need the related logs to investigate further. Please download and run this collect.exe tool, go to %temp% folder and find the vslogs.zip file, upload it to https://onedrive.live.com/ and share the link here.

    1 person found this answer helpful.

  2. Programy na zlecenie 1 Reputation point
    2021-03-11T05:08:30.43+00:00

    i have this same problem. I use windows 7, but visual studio 2015, 2017 and 2019 (online and offline) take this same results. Any answer?

    0 comments No comments

  3. cormac garvey 1 Reputation point
    2021-07-16T12:13:41.483+00:00

    have similar issue. Need to use offline install to install on corporate win server 2016 standard where direct internet access not permitted.

    i have followed all instructions outlined here:

    https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019

    i am using the bootstrapper vs_community__246848175.1614096480.exe and renaming it to vs_community.exe
    i
    i am installing from command line with:

    c:\vslayout\vs_community.exe --noweb --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional

    the CNG ley isolation is set to manual and is running.

    the install log shows that visual studio is still trying to download files even though this is offline installation and all required files should be in the directory already.

    some of the last fails in the log are........

    [13a4:00af][2021-07-16T14:07:26] Sleeping 10000 milliseconds before retrying download.
    [13a4:00af][2021-07-16T14:07:36] Attempting download 'https://download.visualstudio.microsoft.com/download/pr/47307962-b1d2-4f9f-b026-d43bdd2e4cd5/a764816361f6b75630e74885f2487b00eb45094355e0d195c7a39843610c2e32/Microsoft.PythonTools.LiveShare.Vsix.Resources.ENU.vsix' using engine 'WinInet'
    [13a4:00af][2021-07-16T14:07:36] Error in 'InternetOpenUrl' with '12029' - 'Unknown error 12029'.
    [13a4:00af][2021-07-16T14:07:36] WinInet error 'UnknownError' Function: InternetOpenUrl, HR: -2147012867, Message: Unknown error 12029 - proxy setting '

    0 comments No comments

  4. antanas bendoraitis 1 Reputation point
    2021-08-10T15:17:30.777+00:00

    I changed my wifi „WLAN1-C9...“ network profile setting from public to private and when I started installer one more time it worked.

    0 comments No comments

  5. Dunc Sargent 1 Reputation point
    2021-11-19T20:18:46.137+00:00

    I ran into the same error message, but it turns out that I had changed my TMP/TEMP environment variables to a non-existent place.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.