Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 Enterprise Offline Installation Fails

I have created a Visual Studio 2017 offline installer using the command: mu_visual_studio_enterprise_2017_x86_x64_10049783.exe --layout c:\vs2017offline

Behind firewall, when I execute mu_visual_studio_enterprise_2017_x86_x64_10049783.exe, in the vs2017offline folder, I'm getting the following error:

Details WebClient download failed: The remote server returned an error: (407) Proxy Authentication Required. Bits download failed: Error context: BG_ERROR_CONTEXT_REMOTE_FILE, Error code: -2145844841 WinInet download failed: Url 'https://download.microsoft.com/download/0/1/2/012ECA6A-588A-4E9A-9759-62DB964C511A/VSInitializer.exe' returned HTTP status code: 407

Seems the installer still attempts making a connection to the internet.

Help.

like image 673
Ershad Nozari Avatar asked Mar 09 '17 02:03

Ershad Nozari


People also ask

Does Visual Studio need internet to install?

Once the layout is created, you can use it to install Visual Studio. The bootstrapper is the executable that you use to create, update, and perform other Visual Studio installation operations. You must have an internet connection to complete this.


1 Answers

For me it was the issue with validating the certificates the packages has been signed with. Since validation was failing, it was trying to connect to the internet to get the packages again. I imported all the certificates in the /layoutRoot/certificates folder and retried the installation and it worked.

like image 53
Vijay Avatar answered Dec 05 '22 02:12

Vijay