Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 Offline Installation Still Wants Internet Connection

I created an offline layout folder using the following command:

vs_enterprise.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US

I then copied the entire resulted vs2017layout folder (~2.57GB) to another machine that does not have internet access and ran the following command:

vs_enterprise.exe --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US

However, the installer still wants internet connection. Please advise on what I'm missing. enter image description here

Thank you in advance.

like image 529
AngieM Avatar asked Nov 20 '17 17:11

AngieM


2 Answers

Turns out I need to manually import the certificates that were downloaded to the offline folder on the machine.

Found this info from this blog post: http://www.kunal-chowdhury.com/2016/11/visual-studio-2017-offline-installer.html#C3t0q0XUUVqgvqyy.97

like image 70
AngieM Avatar answered Oct 20 '22 01:10

AngieM


Please run https://aka.ms/vscollect.exe and upload your logs to a new issue on https://developercommunity.visualstudio.com. Logs will then only be available for you and us to see and diagnose.

like image 36
Heath Avatar answered Oct 20 '22 00:10

Heath