Create an offline installation of Visual Studio 2017 RC

‎2016‎年‎12‎月‎7‎日                                                                                                 

In this article

  • Create a layout
  • Install from a layout
  • Update an installation layout
  • Troubleshoot an installation layout
  • See Also

Create a layout

If you want to install Visual Studio 2017 RC on another machine that doesn't have internet access, you can do so by first creating an offline installation layout that contains all the Visual Studio files and components you need.

You can then install Visual Studio to the target machine by using the offline installation layout that you created.

Warning

Currently, the Android SDK does not support an offline installation experience. If you install Android SDK Setup items on a computer that is not connected to the internet, the installation might fail. For more information about this, go to the Troubleshoot an offline installation section in this topic.

To create an offline installation layout of Visual Studio

  1. Download the Visual Studio setup executable file to a drive on your local machine. For example, download the vs_enterprise.exe file.

    1. https://www.visualstudio.com/vs/visual-studio-2017-rc/
  1. Run vs_enterprise.exe with the following arguments (switches) from a command prompt:

    a. Add --layout <path>, where <path> is the location where you want the layout to download to. Note that relative paths (e.g. ..\vs2017) are not supported at present. By default, all languages are downloaded. (See Example A.)

    Warning

    Currently, an offline installation of Visual Studio 2017 RC will silently fail to install if the layout location is a root directory (for example, D:\). This is very common when an offline installation layout is created at the root of an ISO image. To work around this issue, please use a directory for the layout location. For example, use D:\VS2017.

    b. Restrict the download to a subset of the available languages by providing the --lang <language> argument, where <language> is one or more of the ISO country codes.  (See Example B and Example C.)

Examples

Example A: Install all languages

vs_enterprise.exe --layout C:\vs2017

Example B: Install one language

vs_enterprise.exe --layout C:\vs2017 --lang en-US

Example C: Install multiple languages

vs_enterprise.exe --layout C:\vs2017 --lang en-US de-DE ja-JP

Country codes

ISO Code Language
cs-CZ Czech
de-DE German
en-US English
es-ES Spanish
fr-FR French
it-IT Italian
ja-JP Japanese
ko-KR Korean
pl-PL Polish
pt-BR Portuguese - Brazil
ru-RU Russian
tr-TR Turkish
zh-CN Chinese - Simplified
zh-TW Chinese - Traditional

Install from a layout

To install Visual Studio from an offline installation layout

  1. On the target machine, navigate to the Certificates folder, which is in the Layout folder.
  2. Right-click and install each certificate in the Certificates folder.

    (If you are prompted for a password after you install a certificate, click Continue.)

  3. Run vs_enterprise.exe from the Layout folder.
Caution

The offline installation layout currently creates some files with restricted permissions (ACLs) that prevent access by all users.  Make sure that you adjust the permissions (ACLs) so that they grant Read access to other users  before  you share the offline install.

Update an installation layout

As updates become available for Visual Studio 2017 RC, you can run the --layout command again, pointing to the same layout folder, to ensure that the folder contains the latest components. Only those components that have been updated since the last time --layout was run will be downloaded.

Troubleshoot an installation layout

When you install offline from your offline install cache, you might see warning messages about not being able to install some components and packages. The following table includes possible solutions for these scenarios.

Component or Package Solution
Android SDK Setup (API Level) You must have an internet connection to install Android SDK (API Level) packages. If you are on a restricted network, you must allow access to the following URLs when you install Visual Studio:
- http://dl.google.com:443 - http://dl-ssl.google.com:443   - https://dl-ssl.google.com/android/repository/*
For more information about how to resolve possible issues with proxy settings, see the Visual Studio install failures (Android SDK Setup) behind a Proxy blog post.
Important

While Visual Studio 2017 RC in general is supported for use in a production environment, those workloads and components that are marked "Preview" in the installation UI are not supported for use in a production environment.

See Also

  • Install Visual Studio
  • Use command-line parameters to install Visual Studio
  • Report a problem with Visual Studio

转载于:https://www.cnblogs.com/endv/p/6242625.html

Create an offline installation of Visual Studio 2017 RC相关推荐

  1. 解决 Visual Studio 2017 RC 不兼容低版本 Visual Studio 创建的 MVC 4 项目的问题

    解决 Visual Studio 2017 RC 不兼容低版本 Visual Studio 创建的 MVC 4 项目的问题 参考文章: (1)解决 Visual Studio 2017 RC 不兼容低 ...

  2. 【更新】ReSharper v2016.3发布,Visual Studio 2017 RC初步支持

    2019独角兽企业重金招聘Python工程师标准>>> [下载最新版ReSharper试用] Visual Studio 2017 RC初步支持 ReSharper 2016.3最终 ...

  3. Visual Studio 2017 RC版发布 自带iOS模拟器

    来自:驱动之家 http://news.mydrivers.com/1/508/508207.htm 在今天举办的Connect()开发者大会上,微软正式宣布下一代集成开发环境(IDE)命名为&quo ...

  4. Visual Studio 2017 RC 下载 最新版本的发行说明

    我们非常荣幸地宣布 Visual Studio 2017 RC 现已推出! 此新版本包括我们最新的功能创新和改进. 注意 这里是 Visual Studio 2017 最新版本的发行说明. 下载:Vi ...

  5. 微软 Visual Studio 2017 RC 中文版下载 - 免费社区版/专业版/企业版

    作为"宇宙最强"的集成开发环境 IDE,微软的 Visual Studio 不仅破天荒发布了 macOS 版本,同时也推出了其 Windows 的最新版本-- VS 2017 RC ...

  6. Visual Studio 2017 新功能(上)

    开发:快速导航.编写并修复代码 新的安装体验 - 降低了最小内存需求量以实现更快.更定制化的安装,并且支持脱机安装. Visual Studio IDE - 大幅改进了 Visual Studio 2 ...

  7. Visual Studio 2017错误:无法启动程序,在当前状态下操作不合法

    本文翻译自:Visual Studio 2017 error: Unable to start program, An operation is not legal in the current st ...

  8. Visual Studio 2017十五项新功能体验

    Visual Studio 2017正式已经于2017.3.7号正式发布,选在这一天发布也是为了纪念Visual Studio 二十周年.MVP 2017技术峰会将于这个周末(3.17)在北京举办,由 ...

  9. Visual Studio 2017全面上市

    自从1997年第一版发布的20年以来,微软Visual Studio开发工具一向以易学易用.功能齐全而闻名,帮助开发者以简驭繁,即使面对越来越快速的交付压力,也能大幅提高生产力,好整以暇.对于Visu ...

最新文章

  1. python显示行数_jupyter notebook实现显示行号
  2. What you should know about .so files
  3. 详解C++中经常看到的#include <iostream> using namespace std;
  4. 一文深度解析线性表的前世今生!!!
  5. 前端开发工程师养成记
  6. HDU-2570-迷瘴
  7. linux 脚本 数字运算符,Shell 基本运算符
  8. 前台JS事件与服务器事件的执行顺序
  9. 【数据库系统原理】数据库设计
  10. 单表mysql分页查询语句怎么写_MySQL单表百万数据记录分页性能优化技巧
  11. poj 1503 Integer Inquiry (高精度运算)
  12. 《how to write and publish a scientific paper》 Chapter 4
  13. 卸载mysql服务命令_完全卸载MySQL服务的方法
  14. 【机器学习】支持向量机原理与序列最小最优化算法SMO
  15. pq分解法matlab编程,基于MATLAB的PQ分解法电力系统潮流计算.doc
  16. 超级授权专业版 SuperSU Pro v2.68 简体中文版
  17. 每日必应壁纸API接口源码
  18. ASEMI代理ADI(亚德诺)AD5934YRSZ-REEL7车规级芯片
  19. 简单了解一下LCD屏工作原理
  20. CSS3之边框图片border-image

热门文章

  1. 位置路径 usb 获取_USB4规范解读(二):详解USB4的传输路径
  2. oracle获取去年年份_「实战」中文检错纠错之语料获取与处理
  3. html正方形对话框素材,10种展示效果的弹出层对话框插件method.js
  4. oracle 时间按季度,ORACLE时间字段取年、月、日、季度
  5. word 代码_怎样在Word 中插入 C/C++ 代码
  6. python查看系统信息_学习python获取系统信息和磁盘容量
  7. Ckeditor插件
  8. mysql 语法树_Inception 语法树打印(15)
  9. linux 存储映射lun 给_linux 存储多路径聚合和映射
  10. 系统上云服务器地址,可以自己安装系统的云服务器地址