How to Create Offline Installer Visual Studio 2022

Last Updated on August 21, 2023 by Humera Hallari

To create an offline installer version of Visual Studio 2022 the way is very easy. You simply download the layout using the downloader from Visual Studio itself, after which you can open the command prompt and execute it easily.

For a complete guide on how to create an offline Visual Studio 2022 installer. You can follow the following guidelines.

How to Create VS 2022 Offline Installer

1) First download Layout Visual Studio 2022 downloader, link is below this article or click here. Inside are 3 files, Community, Professional, and Enterprise versions. You need to extract file first, and determine which version layout you want to use, here for example we will use the community version.
2) Run the following command using command prompt. To open command prompt type in taskbar ‘Command Prompt‘ then run as administrator. After that paste the following command and press ENTER if it is correct.

For .NET web and .NET desktop package

vs_Community.exe --layout c:\localVScache --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeOptional --lang en-US

For .NET desktop and Office package

vs_Community.exe --layout c:\localVScache --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Office --includeOptional --lang en-US

For C++ desktop package

vs_Community.exe --layout c:\localVScache --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US

For all package (Complete)

vs_Community.exe --layout c:\localVScache --lang en-US

3) Add a location/path before file downloader if you place a downloader file elsewhere, for example: C:\Users\pc\Downloads\vs_Community.exe
4) c:\localVScache that’s where the download is located. Change as you wish if you want.
5) After the file is successfully downloaded entirely. You can run ‘vs_setup.exe‘ files to perform Visual Studio 2022 installations.

That’s the tutorial on how to create an offline installer from Visual Studio 2022. You can download the Layout Downloader through the following link.

Visual Studio 2022 Bootstrapper Layout Downloader

Developer: Microsoft

Read more about Visual Studio 2022 Installer Download, and  visual studio 2017 offline installer

1 thought on “How to Create Offline Installer Visual Studio 2022”

Leave a Comment