- Mastering Visual Studio 2017
- Kunal Chowdhury
- 351字
- 2021-07-15 17:26:32
Creating an offline installer of Visual Studio 2017
Sometimes, we may need to have an offline copy of the installer so that we can install it to multiple devices without an active or fast internet connection. This will save your bandwidth from downloading the same copy multiple times over the network. The offline installer is big. So, before going further to create the offline copy, make sure that you have an active internet connection available with no limitation of download bandwidth.
- First, download the Visual Studio setup executable file (web installer) to a drive on your local machine.
- Now, run the downloaded setup executable with the following arguments (switches) from a command prompt:
- Add --layout <path>, where <path> is the location where you want the layout to be downloaded. By default, all languages will be downloaded along with all the packages.
- In case you want to restrict the download to a single language only, you can do so by providing the --lang <language> argument, where <language> is one of the ISO country codes given in the following list. If not specified, support for all localized languages will be downloaded.

vs_enterprise.exe --layout "C:\VS2017\"
To download the English localized edition to local path C:\VS2017\, provide the following command:
vs_enterprise.exe --layout "C:\VS2017\" --lang "en-US"
To download only the .NET desktop development workload, run:
vs_enterprise.exe --layout "C:\VS2017\" --add Microsoft.VisualStudio.Workload.ManagedDesktop
To download the .NET desktop development and Azure development workloads, provide the following command:
vs_enterprise.exe --layout "C:\VS2017\" --add Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.Azure
As shown in the following screenshot, it will start downloading all the packages part of Visual Studio 2017. As the offline installer is big, it will take plenty of time, depending on the speed of your internet network:

Once the download completes, go to the folder where you downloaded the packages (in our case, it's C:\VS2017\) and run the installer file, that is, vs_enterprise.exe, for example. Then, follow the same steps as mentioned earlier to select the required Workloads and/or Individual components to start the installation process.
- 數(shù)據(jù)庫程序員面試筆試真題與解析
- Visual Studio 2012 Cookbook
- 小創(chuàng)客玩轉(zhuǎn)圖形化編程
- Microsoft Dynamics 365 Extensions Cookbook
- Python 深度學習
- iOS開發(fā)實戰(zhàn):從零基礎到App Store上架
- Python高效開發(fā)實戰(zhàn):Django、Tornado、Flask、Twisted(第2版)
- 從零開始學C語言
- Linux Shell核心編程指南
- Java EE企業(yè)級應用開發(fā)教程(Spring+Spring MVC+MyBatis)
- Java程序設計與項目案例教程
- 零基礎學HTML+CSS
- Shopify Application Development
- Mastering Unreal Engine 4.X
- Learning D3.js 5 Mapping(Second Edition)