How to create offline installer for visual studio community 2022


In the zone
Hi I am Rupesh from India and I have bought a new PC and I have tried to install visual studio community 2022 and I have succeeded but I can't create offline installer for future needs.

I have downloaded latest visual studio community 2022 installer and after that I have selected option install only after downloading all necessary files and I have specified d drive for installation and downloaded folder.

The installation has been completed and the downloaded packages are present in d:\downloaded directory. This directory consists of about 340 sub directories and upto 12000 files.

After that I have issued the following command

vs_community.exe --layout d:\downloaded --lang en-US

Nothing happened I mean no iso image or zip file has been created.

I want to create a new iso image or zip file or any package which consists of all the previously downloaded packages.

Please try to suggest how to do so.


Sent from my LM-G710 using Tapatalk


Cyborg Agent
To the best of my knowledge, the Visual Studio installer exe is not equipped to create any ISO files. You have to use third-party tools like Free ISO Creator or PowerISO (Paid) or use oscdimg.exe command line (which is available free as part of Windows 10 ADK)

If you are sure that all files are at D:\downloaded then just use third-party tools to create an ISO out of all files and folders from D:\Downloaded

Oscdimg.exe -LTEST -m -u2 d:\downloaded c:\VS2022.iso

After ISO is created preferably create a Virtual Windows 10 first using VMWare Player or VirtualBox and mount the ISO and run the setup to test/confirm that indeed all packages that you intend to have are available and getting installed after running the setup in VM.


Cyborg Agent
To the best of my knowledge, so far Microsoft have not released ISO for VS2022. The entire download is over 25 GB and it will be updated regularly as and when various VS components are being updated.

Use web installer command line --layout to download the files offline and then create an ISO out of it using third-party tools. OP seems to be under impression that the same VS installer exe is going to create ISO for him. Command line parameters to VS installer2022 exe are documented here Use command-line parameters to install Visual Studio

There might be third-party unofficial sites that might offer ISO download, but you never know, those might not be genuine.
For most users a simple select & click tool like FreeISOCreator should suffice. Just point to the root directory and the tool will do the rest of creating ISO.
Since maintaining >25GB ISO might be bulky, to keep it simple just copy the downloaded folder as-is to a 32GB pen drive, set it to Read-Only and archive the same for future use.


I am the master of my Fate.
Then refer this article where ISO is given for download Download Visual Studio 2022 Web Installer / ISO (Community / Professional / Enterprise)

Follow the steps.

Else use this one from MS :



Right off the assembly line

How to create offline installer for visual studio community 2023​

Here's a general outline of the process:

  1. Obtain the Visual Studio Community 2023 installer: Visit the official Microsoft website or the Visual Studio Downloads page to find and download the installer for Visual Studio Community 2023. Make sure to select the version and edition that matches your requirements.
  2. Download the complete installer package: Visual Studio Community offers an online installer by default, which downloads the required files during the installation process. To create an offline installer, you'll need to download the complete installer package, also known as the ISO file. Look for an option to download the ISO file from the Visual Studio Downloads page or the Microsoft website.
  3. Mount or extract the ISO file: Once you have downloaded the ISO file, you can either mount it as a virtual drive or extract its contents to a local folder on your computer. To mount the ISO, you can right-click on the file and select "Mount" from the context menu. If you prefer to extract the contents, you can use third-party software like 7-Zip or WinRAR to extract the files to a folder.
  4. Run the installer in offline mode: After mounting or extracting the ISO file, navigate to the folder where the installer files are located. Look for an executable file (usually named "setup.exe" or similar) and double-click it to run the installer. During the installation process, make sure to choose the appropriate installation options and customize the installation as needed.
  5. Wait for the installation to complete: The installer will start installing Visual Studio Community 2023 and all the selected components. This process may take some time depending on your computer's performance and the components you have chosen to install.
By following these general steps, you should be able to create an offline installer for Visual Studio Community 2023. However, please note that the specific steps or options may vary depending on the updates and changes introduced by Microsoft. For the most accurate and up-to-date instructions, I recommend referring to the official documentation or resources provided by Microsoft.
Top Bottom