Offline installation of Visual Studio 2017 Update 2 (26430.04) fails

谁说胖子不能爱 提交于 2019-12-06 15:37:01
user3819861

It seems you didn't include the --includeRecommended and --includeOptional parameters in your offline layout command, this is required because it only downloads required packages by default which is not sufficient for the installation to work offline.

The problem is: The --layout switch should be used ONLY when downloading a new workload or updating one, which off-course need to be done online, which makes the above error.

By just saying --layout you ask setup: "please update the components in this layout, I'm online now.", which 1st downlaod ~ 60MB file saying "Give us more time, we'll be done soon", then start updating.

When you want to setup vs2017:

  1. Open the 3 certificates in [layoutFolder]\certificates, press enter or next on each dialog till you finish, don't change anything.

  2. Run [layoutFolder]\vs_*.exe.

However, Its highly recommended to automate the run of vs_*.exe (for setup to choose the exactly Required components) like that:

.\layout\vs_setup.exe --add microsoft.visualstudio.workload.ManagedDesktop --nocache

You don't need to even specify: --lang en-US. --nocache will save your C: from same-as-installed-workload-size additional GB's.

You can do manual download https://download.microsoft.com/download/1/9/A/19A9B545-B70C-4B0E-871D-CEF22A55E2A8/microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix and put it to folder "Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents.Resources,version=15.0.26412.1,language=en-US" , file name must be "microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!