Visual Studio 2017 Enterprise 离线安装失败 [英] Visual Studio 2017 Enterprise Offline Installation Fails
问题描述
我使用以下命令创建了 Visual Studio 2017 离线安装程序:mu_visual_studio_enterprise_2017_x86_x64_10049783.exe --layout c:vs2017offline
I have created a Visual Studio 2017 offline installer using the command: mu_visual_studio_enterprise_2017_x86_x64_10049783.exe --layout c:vs2017offline
在防火墙后面,当我在 vs2017offline 文件夹中执行 mu_visual_studio_enterprise_2017_x86_x64_10049783.exe 时,出现以下错误:
Behind firewall, when I execute mu_visual_studio_enterprise_2017_x86_x64_10049783.exe, in the vs2017offline folder, I'm getting the following error:
详情WebClient 下载失败:远程服务器返回错误:(407) 需要代理身份验证.位下载失败:错误上下文:BG_ERROR_CONTEXT_REMOTE_FILE,错误代码:-2145844841WinInet 下载失败:Url 'https://download.microsoft.com/download/0/1/2/012ECA6A-588A-4E9A-9759-62DB964C511A/VSInitializer.exe' 返回 HTTP 状态码:407
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.
帮助.
推荐答案
对我来说,验证软件包已签名的证书是个问题.由于验证失败,它试图连接到互联网以再次获取包.我在 /layoutRoot/certificates
文件夹中导入了所有证书并重试了安装,它成功了.
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.
这篇关于Visual Studio 2017 Enterprise 离线安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!