You have limited bandwidth or a lot of PC that need to install Visual Studio 2017. You want a local cache update for Your Visual Studio 2017 installation? Without further ado let's discuss three easy steps to create offline installer for Visual Studio.
- Download the Visual Studio Bootstrapper – VS Enterprise, VS Professional, or VS Community. If you don't know where to start, I recommend you to download the Community version.
- Download the workload of your Visual Studio. This step is critical! You need to choose what you want to install. Having the entire features of Visual Studio will cost you about 40 GB of offline installer. You must pick what you need. Here are several scripts
Download the entire layout
vs_community.exe --layout E:\vs2017Installer --lang en-US
Download the specific workload for a visual studio version can be accessed at https://docs.microsoft.com/en-us/visualstudio/install/workload-and-component-ids , see your version and click the link to navigate more detail such as Visual Studio Community Workload
vs_community.exe --layout E:\vs2017Installer --add Microsoft.VisualStudio.Workload.Azure (you can add another workload by using similar patterns –add workload) --includeRecommended --lang en-US
without –includeRecommended, the layout only install the required features. You can also download the optional features by using –includeOptional