Skip to content

Commit 1365910

Browse files
authored
Merge pull request #694 from PoulChapman/pchapman-working
Update content for offline installs
2 parents 1d4298d + edd9d04 commit 1365910

9 files changed

+242
-234
lines changed
Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
---
2-
title: "Create an Offline Installation of Visual Studio | Microsoft Docs"
3-
description: "Find out how to create an offline installation of Visual Studio."
4-
ms.custom: ""
5-
ms.date: "07/21/2017"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "vs-ide-install"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "article"
12-
layout: ContentPage
13-
f1_keywords:
14-
- "offline installation [Visual Studio]"
15-
- "offline install [Visual Studio]"
16-
- "layout [Visual Studio]"
17-
ms.assetid: f8625d5e-f6ea-4db0-83c0-619b77fab3cf
18-
author: "TerryGLee"
19-
ms.author: "tglee"
20-
manager: "ghogen"
2+
redirect_url: /visualstudio/install/create-an-offline-installation-of-visual-studio
3+
redirect_document_id: TRUE
214
---
22-
# Create an offline installation of Visual Studio 2017
23-
24-
If you are looking for an offline option for installing Visual Studio 2017, we can point you in the right direction.
25-
26-
* If you want to install a single instance of Visual Studio 2017 but your internet connection is unavailable or unreliable, see our [Install Visual Studio 2017 on low bandwidth or unreliable network environments](../install/install-vs-inconsistent-quality-network.md) page.
27-
* If you are an enterprise administrator who wants to perform a large deployment of Visual Studio 2017 to a network of client workstations that are firewalled from the internet, see our [Create a network installation of Visual Studio 2017](../install/create-a-network-installation-of-visual-studio.md) and [Special considerations for installing Visual Studio in an offline environment](../install/install-visual-studio-in-offline-environment.md) pages.

docs/install/TOC.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# [Install Visual Studio](install-visual-studio.md)
2-
## [Install on low bandwidth or unreliable network environments](install-vs-inconsistent-quality-network.md)
2+
## [Create an offline installation of Visual Studio](create-an-offline-installation-of-visual-studio.md)
3+
### [Install on low bandwidth or unreliable network environments](install-vs-inconsistent-quality-network.md)
34
## [Troubleshooting installation issues](troubleshooting-installation-issues.md)
45
# [Update Visual Studio](update-visual-studio.md)
56
# [Modify Visual Studio](modify-visual-studio.md)
@@ -8,7 +9,7 @@
89
## [Use command-line parameters to install Visual Studio](use-command-line-parameters-to-install-visual-studio.md)
910
## [Command-line parameter examples](command-line-parameter-examples.md)
1011
## [Create a network-based installation of Visual Studio](create-a-network-installation-of-visual-studio.md)
11-
## [Special considerations for installing Visual Studio in an offline environment](install-visual-studio-in-offline-environment.md)
12+
## [Install certificates needed for offline installation](install-certificates-for-visual-studio-offline.md)
1213
## [Installing Visual Studio behind a firewall or proxy server](install-visual-studio-behind-a-firewall-or-proxy-server.md)
1314
## [Automate Visual Studio installation with a response file](automated-installation-with-response-file.md)
1415
## [Automatically apply product keys when deploying Visual Studio](automatically-apply-product-keys-when-deploying-visual-studio.md)

docs/install/create-a-network-installation-of-visual-studio.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create a network-based installation of Visual Studio | Microsoft Docs"
3-
description: "{{PLACEHOLDER}}"
4-
ms.date: "08/29/2017"
3+
description: "Describes how to create a network install point for deploying Visual Studio within an enterprise"
4+
ms.date: "08/30/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -25,6 +25,7 @@ Commonly, an enterprise administrator creates a network install point for deploy
2525
> If you have multiple editions of Visual Studio in use within your enterprise (for example, both Visual Studio Professional and Visual Studio Enterprise), you must create a separate network install share for each edition.
2626
2727
## Download the Visual Studio bootstrapper
28+
2829
**Download** the edition of Visual Studio you want. Make sure to click **Save**, and then click **Open folder**.
2930

3031
Your setup executable—or to be more specific, a bootstrapper file—should match one of the following.
@@ -38,29 +39,28 @@ Your setup executable—or to be more specific, a bootstrapper file—sh
3839
Other supported bootstrappers include [vs_buildtools.exe](https://aka.ms/vs/15/release/vs_buildtools.exe), [vs_feedbackclient.exe](https://aka.ms/vs/15/release/vs_feedbackclient.exe), [vs_teamexplorer.exe](https://aka.ms/vs/15/release/vs_teamexplorer.exe), [vs_testagent.exe](https://aka.ms/vs/15/release/vs_testagent.exe), [vs_testcontroller.exe](https://aka.ms/vs/15/release/vs_testcontroller.exe), and [vs_testprofessional.exe](https://aka.ms/vs/15/release/vs_testprofessional.exe).
3940

4041
## Create an offline installation folder
42+
4143
To create an offline installation with all languages and all features, use one of the commands from the following examples:
4244

4345
(Make sure that you run the command from your Download directory. Typically, that's `C:\Users\<username>\Downloads` on a computer running Windows 10).
4446

4547
- For Visual Studio Enterprise, run:
46-
```
47-
vs_enterprise.exe --layout c:\vs2017offline
48-
```
48+
49+
```vs_enterprise.exe --layout c:\vs2017offline```
4950

5051
- For Visual Studio Professional, run:
51-
```
52-
vs_professional.exe --layout c:\vs2017offline
53-
```
54-
52+
53+
```vs_professional.exe --layout c:\vs2017offline```
54+
5555
- For Visual Studio Community, run:
56-
```
57-
vs_community.exe --layout c:\vs2017offline
58-
```
56+
57+
```vs_community.exe --layout c:\vs2017offline```
5958

6059
> [!IMPORTANT]
6160
> A complete Visual Studio 2017 layout requires at least 20 GB of disk space and can take some time to download. See the [Customizing the network layout](#customizing-the-network-layout) section for details on how to create a layout with only the components you want to install.
6261
6362
## Modify the response.json file
63+
6464
You can modify the response.json to set default values that are used when setup is run. For example, you can configure the `response.json` file to select a specific set of workloads selected automatically.
6565
See [Automate Visual Studio installation with a response file](automated-installation-with-response-file.md) for details.
6666

@@ -71,48 +71,44 @@ Host the layout on a network share so it can be run from other machines.
7171
```xcopy /e c:\vs2017offline \\server\products\VS2017```
7272

7373
## Customizing the network layout
74+
7475
There are several options you can use to customize your network layout. You can create a partial layout that only contains a specific set of [language locales](use-command-line-parameters-to-install-visual-studio.md#list-of-language-locales), [workloads, components, and their recommended or optional dependencies](workload-and-component-ids.md). This might be useful if you know that you are going to deploy only a subset of workloads to client workstations. Typical command-line parameters for customizing the layout include:
7576

76-
* ```--add``` to specify [workload or component IDs](workload-and-component-ids.md). If `--add` is used, only those workloads and components specified with `--add` are downloaded. If `--add` is not used, all workload and components are downloaded.
77-
* ```--includeRecommended``` to include all the recommended components for the specified workload IDs
78-
* ```--includeOptional``` to include all the recommended and optional components for the specified workload IDs.
79-
* ```--lang``` to specify [language locales](use-command-line-parameters-to-install-visual-studio.md#list-of-language-locales).
77+
* ```--add``` to specify [workload or component IDs](workload-and-component-ids.md). If `--add` is used, only those workloads and components specified with `--add` are downloaded. If `--add` is not used, all workload and components are downloaded.
78+
* ```--includeRecommended``` to include all the recommended components for the specified workload IDs
79+
* ```--includeOptional``` to include all the recommended and optional components for the specified workload IDs.
80+
* ```--lang``` to specify [language locales](use-command-line-parameters-to-install-visual-studio.md#list-of-language-locales).
8081

8182
Here are a few examples of how to create a custom partial layout.
8283

83-
* To download all workloads and components for only one language, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --lang en-US```
84-
* To download all workloads and components for multiple languages, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --lang en-US de-DE ja-JP```
85-
* To download one workload for all languages, run <br> ```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --includeRecommended```
86-
* To download two workloads and one optional component for three languages, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Component.GitHub.VisualStudio --includeRecommended --lang en-US de-DE ja-JP ```
87-
* To download two workloads and all of their recommended components, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Component.GitHub.VisualStudio --includeRecommended ```
88-
* To download two workloads and all of their recommended and optional components, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Component.GitHub.VisualStudio --includeOptional ```
84+
* To download all workloads and components for only one language, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --lang en-US```
85+
* To download all workloads and components for multiple languages, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --lang en-US de-DE ja-JP```
86+
* To download one workload for all languages, run <br> ```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --includeRecommended```
87+
* To download two workloads and one optional component for three languages, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Component.GitHub.VisualStudio --includeRecommended --lang en-US de-DE ja-JP ```
88+
* To download two workloads and all of their recommended components, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Component.GitHub.VisualStudio --includeRecommended ```
89+
* To download two workloads and all of their recommended and optional components, run: <br>```vs_enterprise.exe --layout C:\vs2017offline --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Component.GitHub.VisualStudio --includeOptional ```
8990

9091
### New in 15.3
92+
9193
When you run a layout command, the options that you specify are saved (such as the workloads and languages). Subsequent layout commands will include all of the previous options. Here is an example of a layout with one workload for English only:
9294

93-
```
94-
vs_enterprise.exe --layout c:\VS2017Layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US
95-
```
96-
When you want to update that layout to a newer version, you don't have to specify any additional command line parameters. The previous settings are saved and used by any subsequent layout commands in this layout folder. The following command will update the existing partial layout.
95+
```vs_enterprise.exe --layout c:\VS2017Layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US```
96+
97+
When you want to update that layout to a newer version, you don't have to specify any additional command line parameters. The previous settings are saved and used by any subsequent layout commands in this layout folder. The following command will update the existing partial layout.
9798

98-
```
99-
vs_enterprise.exe --layout c:\VS2017Layout
100-
```
99+
```vs_enterprise.exe --layout c:\VS2017Layout```
101100

102101
When you want to add an additional workload, here's an example of how to do so. In this case, we'll add the Azure workload and a localized language. Now, both Managed Desktop and Azure are included in this layout. The language resources for English and German are include for all these workloads. The layout is updated to the latest available version.
103102

104-
```
105-
vs_enterprise.exe --layout c:\VS2017Layout --add Microsoft.VisualStudio.Workload.Azure --lang de-DE
106-
```
103+
```vs_enterprise.exe --layout c:\VS2017Layout --add Microsoft.VisualStudio.Workload.Azure --lang de-DE```
107104

108105
If you want to update an existing layout to a full layout, use the --all option, as shown in the following example.
109106

110-
```
111-
vs_enterprise.exe --layout c:\VS2017Layout --all
112-
```
107+
```vs_enterprise.exe --layout c:\VS2017Layout --all```
113108

114109

115110
## Deploying from a network installation
111+
116112
Administrators can deploy Visual Studio onto client workstations as part of an installation script. Or, users who have administrator rights can run setup directly from the share to install Visual Studio on their machine.
117113

118114
- Users can install by running: <br>```\\server\products\VS2017\vs_enterprise.exe```
@@ -121,9 +117,10 @@ Administrators can deploy Visual Studio onto client workstations as part of an i
121117
> [!TIP]
122118
> When executed as part of a batch file, the `--wait` option ensures that the `vs_enterprise.exe` process waits until the installation is complete before it returns an exit code. This is useful if an enterprise administrator wants to perform further actions on a completed installation (for example, to [apply a product key to a successful installation](automatically-apply-product-keys-when-deploying-visual-studio.md)) but must wait for the installation to finish to handle the return code from that installation. If you do not use `--wait`, the `vs_enterprise.exe` process exits before the installation is complete and returns an inaccurate exit code that doesn't represent the state of the install operation.
123119
124-
When you install from a layout, the content that is installed is acquired from the layout. However, if something that is selected to be installed is missing in the layout, it will be acquired from the Internet. If you want to prevent Visual Studio setup from downloading any content that is missing in your layout, use the `--noWeb` option. If `--noWeb` is used and the layout is missing any content selected to be installed, setup fails.
120+
When you install from a layout, the content that is installed is acquired from the layout. However, if you select a component that is not in the layout, it will be acquired from the internet. If you want to prevent Visual Studio setup from downloading any content that is missing in your layout, use the `--noWeb` option. If `--noWeb` is used and the layout is missing any content that is selected to be installed, setup fails.
125121

126122
### Error codes
123+
127124
If you used the `--wait` parameter, then depending on the result of the operation, the `%ERRORLEVEL%` environment variable is set to one of the following values:
128125

129126
| **Value** | **Result** |
@@ -133,15 +130,18 @@ If you used the `--wait` parameter, then depending on the result of the operatio
133130
| Other | Failure condition occurred - check the logs for more information |
134131

135132
## Updating a network install layout
133+
136134
As product updates become available, you might want to [update the network install layout](update-a-network-installation-of-visual-studio.md) to incorporate updated packages.
137135

138136
## How to create a layout for a previous Visual Studio 2017 release
137+
139138
> [!NOTE]
140139
> The Visual Studio 2017 bootstrappers that are available on [VisualStudio.com](http://www.visualstudio.com) download and install the latest Visual Studio 2017 release available whenever they are run. If you download a Visual Studio bootstrapper today and run it six months from now, it installs the Visual Studio 2017 release that is available at that later time. If you create a layout, installing Visual Studio from that layout installs the specific version of Visual Studio that exists in the layout. Even though a newer version might exist online, you get the version of Visual Studio that is in the layout.
141140
142-
If you need to create a layout for an older version of Visual Studio 2017, you can go to https://my.visualstudio.com to download "fixed" versions of the Visual Studio 2017 bootstrappers for supported versions, which allows you to create a network install layout for that older version.
141+
If you need to create a layout for an older version of Visual Studio 2017, you can go to https://my.visualstudio.com to download "fixed" versions of the Visual Studio 2017 bootstrappers.
143142

144143
### How to get support for your offline installer
144+
145145
If you experience a problem with your offline installation, we want to know about it. The best way to tell us is by using the [Report a Problem](../ide/how-to-report-a-problem-with-visual-studio-2017.md) tool. When you use this tool, you can send us the telemetry and logs we need to help us diagnose and fix the problem.
146146

147147
We have other support options available, too. For a list, see our [Talk to us](../ide/how-to-report-a-problem-with-visual-studio-2017.md) page.
Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
11
---
2-
redirect_url: /visualstudio/ide/create-an-offline-installation-of-visual-studio
2+
title: "Create an Offline Installation of Visual Studio | Microsoft Docs"
3+
description: "Find out how to install Visual Studio offline."
4+
ms.custom: ""
5+
ms.date: "08/30/2017"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "vs-ide-install"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "article"
12+
f1_keywords:
13+
- "offline installation [Visual Studio]"
14+
- "offline install [Visual Studio]"
15+
- "layout [Visual Studio]"
16+
ms.assetid: f8625d5e-f6ea-4db0-83c0-619b77fab3cf
17+
author: "TerryGLee"
18+
ms.author: "tglee"
19+
manager: "ghogen"
320
---
21+
# Create an offline installation of Visual Studio 2017
22+
23+
We designed the Visual Studio 2017 installer to work well in a wide variety of network and machine conditions.
24+
25+
- The new workload-based model means you'll need to download far less than with previous versions of Visual Studio: as little as 300 MB for the smallest installation;
26+
- Compared to a generic "ISO" or zip file, we download only the packages you need for your machine. For example, we don't download 64-bit files if you don't need them;
27+
- During the installation process, we try three different download technologies (WebClient, BITS and WinInet) to minimize interference with anti-virus and proxy software;
28+
- The files you'll need to install Visual Studio are distributed on a global delivery network, so we can get them to you from a local server.
29+
30+
We recommend that you try the [Visual Studio web installer](https://aka.ms/vsdownload?utm_source=mscom&utm_campaign=msdocsOL)&mdash;we think you'll find it a good experience.
31+
32+
> [!div class="button"]
33+
> [Download Visual Studio 2017](https://aka.ms/vsdownload?utm_source=mscom&utm_campaign=msdocsOL)
34+
<br/>
35+
36+
If you want to install a single instance of Visual Studio 2017 but your internet connection is unavailable or unreliable, see [Install Visual Studio 2017 on low bandwidth or unreliable network environments](../install/install-vs-inconsistent-quality-network.md). You can use the command line to create a local cache of the files you need to complete an offline install. This process replaces the ISO files available for previous versions.
37+
38+
> [!NOTE]
39+
> If you are an enterprise administrator who wants to perform a deployment of Visual Studio 2017 to a network of client workstations that are firewalled from the internet, see our [Create a network installation of Visual Studio 2017](../install/create-a-network-installation-of-visual-studio.md) and [Special considerations for installing Visual Studio in an offline environment](../install/install-visual-studio-in-offline-environment.md) pages.

0 commit comments

Comments
 (0)