使用命令行安装VS 2017 RC(无人参与安装) [英] Installing VS 2017 RC using commandline (unattended install)

查看:120
本文介绍了使用命令行安装VS 2017 RC(无人参与安装)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我未能遵循此指南https://docs.microsoft.com/zh-cn/visualstudio/install/use-command-line-parameters-to-install-visual-studio来安装VS 2017RC.我已经尝试了社区版和企业版.安装程序会执行 不响应我做出​​的任何切换;没有错误或任何其他消息.

I have been unsuccessful in following this guide https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio to install the VS 2017RC. I have tried both community and enterprise versions. The installer does not responds to any switch that I give; Neither error nor any other message.

我尝试不成功的命令包括:​​

Commands that I have tried with no success include :

1. .\ vs_community.exe-? (这将启动UI安装程序)

1. .\vs_community.exe -? (this starts the UI installer)

2.  .\ vs_Enterprise.exe -l vslog.txt -add  Microsoft.VisualStudio.Workload.DataScience  (什么都没发生)

2.  .\vs_Enterprise.exe -l vslog.txt -add  Microsoft.VisualStudio.Workload.DataScience  (nothing happens)

有人可以帮助我确定问题所在吗?

Can someone please help me identify the problem.

推荐答案

Udayan Kumar,您好

Hi Udayan Kumar,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

能否请您告诉我们您在粘贴的链接中尝试了哪个命令?您可以告诉我们您执行的步骤,以便我们找出错误的步骤.

Could you please tell us which command you tried in the link you pasted? you could tell us the steps you did so that we could figure out which step is wrong.

例如,我们通常使用--layout命令执行VS 2017脱机安装,因为它允许您下载VS的完整文件.

For example, we usually use --layout command to do the VS 2017 offline installation, because it allows you to download full files of VS.

以该命令为例,我执行以下步骤:

For example of this command, I do the steps as below:

1.从 https://www.visualstudio.com/downloads/下载Visual Studio安装程序可执行文件.到本地计算机上的驱动器.

1. Download the Visual Studio setup executable file from  https://www.visualstudio.com/downloads/  to a drive on your local machine.

步骤1.如下面的屏幕快照所示,这意味着将VS 2017 Enterprise版本资源包下载到驱动器C:中,该驱动器名为VS2017:

Step 1. As is shown in the following screenshot, it means to  download VS 2017 Enterprise version resource packages to drive C:, which named VS2017:

参考:创建Visual Studio的脱机安装Studio 2017 RC

步骤2:弹出以下cmd,显示VS 2017 RC社区的所有下载资源包:

Step 2: the following cmd pops, showing all the downloading resources packages of the VS 2017 RC Community:

第3步:

所有下载成功后,布局文件文件夹将包含所有软件包和安装程序,请从您位于CMD中的文件文件夹中查看.

When all the downloads succeed, the layout file folder contains all the packages and installers, please see from the file folder which you located in CMD.

第4步:

运行vs_Enterprise.exe,将弹出以下表格,您可以选择所需的组件并检查其安装:

Run vs_Enterprise.exe, the following form pops, you could choose the components you need and check them to install:

如果有任何错误问题或疑问,请随时告诉我.

If any error problem or doubt persists, please feel free to tell me.

最好的问候


这篇关于使用命令行安装VS 2017 RC(无人参与安装)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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