切换现有VS2017安装以使用新的网络安装布局 [英] Switch existing VS2017 installation to use new Network Install layout

查看:87
本文介绍了切换现有VS2017安装以使用新的网络安装布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我最近使用此处提供的说明在我们的构建代理计算机上创建了新的网络布局:  https://docs.microsoft .com / zh-CN / visualstudio / install / create-a-network-installation-of-visual-studio

I've recently created a new network layout on our build agent machine, using the instructions available here : https://docs.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio

现在我想利用这个安装更新~5奇数VS2017的现有装置在同一建筑物内。但是,当我运行"vs_professional.exe update --installPath"C:\ Program Files(x86)\ Mysoftoft Visual Studio \ 2017 \Professional""
在我的机器上它表明没有可用的更新,即使在运行Visual Studio时它认为有。我不相信VS2017的现有安装正在正确使用网络安装。

Now I'd like to utilise this installation to update the ~5 odd existing installations of VS2017 in the same building. However when I run "vs_professional.exe update --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional"" on my machine it states that there are no updates available even though when running Visual Studio it believes there are. I'm not confident that the existing installations of VS2017 are utilising the network install properly.

任何人都可以对此有所了解。 

Can anyone shed some light\guidence on this. 




推荐答案

嗨亚当,

欢迎来到MSDN论坛。

请看一下这个文档:

更新基于网络的Visual Studio安装
并按照它更新网络布局,如下所示:

Please have a look at this doc: Update a network-based installation of Visual Studio and follow it to update the network layout like the following:

vs_professional.exe --layout c:\ VSS1717Layout

之后,取决于您的网络环境配置如何更新,如下所示:


  1. 用户可以更新从脱机安装文件夹安装的Visual Studio实例:运行Visual Studio安装程序,然后单击
    更新
  2. 管理员可以使用两个单独的命令更新Visual Studio的客户端部署,而无需任何用户交互:

      首先,更新Visual Studio安装程序: 
vs_professional.exe --quiet -update

      然后,更新Visual Studio应用程序本身: 
vs_professional.exe update --installPath" C:\程序文件(x86)\ Microsoft Visual Studio\2017 \Professional" --quiet --wait --norestart

最好的问候,

Sara


这篇关于切换现有VS2017安装以使用新的网络安装布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆