If you want to do an offline update from VS17.12 to 17.13 , you can follow below steps:

  1. Update the layout to a specific version of the product.
  • Go to the Visual Studio 2022 Release History page and download a particular fixed version bootstrapper(e.g vs_Enterprise17.13.0), copy it into your layout, and use it to update the layout to that exact version specified in the bootstrapper.
  • Run the --layout command in an elevated prompt to download the latest packages into your layout.
vs_enterprise.exe --layout c:\VSLayout
  1. Update your Visual Studio 2022 by running the Visual Studio Installer > Update or you can also use the following command:
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"

Update

The easiest and fastest way to update your offline Visual Studio instances: using a minimal offline layout.

Do i have to download the entire VS Layout package everytime if there is an version update?

Unlike a full Visual Studio layout, a minimal layout only contains the updated packages, so it is always smaller and faster to generate and deploy.

1.Generating a minimal layout.

MinimalLayout.exe generate --targetLocation c:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Enterprise --baseVersion 17.12.5 --targetVersion 17.13.0  --languages en-US

2.Update the Visual Studio Installer

vs_enterprise.exe --quiet --update --offline C:\VSLayout\vs_installer.opc

3.Update the Visual Studio application

vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"

Docs Referred:

Update the layout to a specific version of the product

Update Visual Studio from a layout

Answer from Dou Xu-MSFT on Stack Overflow
🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › install › create-an-offline-installation-of-visual-studio
Create an offline installation - Visual Studio (Windows) | Microsoft Learn
You can use the Download all, then install feature from the Visual Studio Installer to download an installation package on the local machine before you install it locally, or you can use the command line to create a local installation package ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 5611529 › how-to-install-visual-studio-2022-offline
How to install Visual Studio 2022 offline ? - Microsoft Q&A
(This lets windows trust those signing authorities locally, so revocation checks won't fail offline.) After installing all certificates, rerun: vs_professional.exe --noWeb · If it still fails, temporarily disable certificates revocation check under internet options->advance->security, then re-enable them after installation. 3.You can also try using the latest Visual Studio Bootstrapper from- Visual Studio & VS Code Downloads for Windows, Mac, Linux
Top answer
1 of 2
3

If you want to do an offline update from VS17.12 to 17.13 , you can follow below steps:

  1. Update the layout to a specific version of the product.
  • Go to the Visual Studio 2022 Release History page and download a particular fixed version bootstrapper(e.g vs_Enterprise17.13.0), copy it into your layout, and use it to update the layout to that exact version specified in the bootstrapper.
  • Run the --layout command in an elevated prompt to download the latest packages into your layout.
vs_enterprise.exe --layout c:\VSLayout
  1. Update your Visual Studio 2022 by running the Visual Studio Installer > Update or you can also use the following command:
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"

Update

The easiest and fastest way to update your offline Visual Studio instances: using a minimal offline layout.

Do i have to download the entire VS Layout package everytime if there is an version update?

Unlike a full Visual Studio layout, a minimal layout only contains the updated packages, so it is always smaller and faster to generate and deploy.

1.Generating a minimal layout.

MinimalLayout.exe generate --targetLocation c:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Enterprise --baseVersion 17.12.5 --targetVersion 17.13.0  --languages en-US

2.Update the Visual Studio Installer

vs_enterprise.exe --quiet --update --offline C:\VSLayout\vs_installer.opc

3.Update the Visual Studio application

vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"

Docs Referred:

Update the layout to a specific version of the product

Update Visual Studio from a layout

2 of 2
1

Microsoft has a handy post that details what you need to do. Essentially, at the command line on the computer with internet access, execute:

vs_enterprise.exe --layout c:\localVSlayout

Replace c:\localVsLayout with where you want to dump the files. It's going to be big! You may need to change vs_enterprise.exe with the correct executable name for your version of Visual Studio.

🌐
Microsoft Learn
learn.microsoft.com › en-us › troubleshoot › developer › visualstudio › installation › set-up-vs-professional-2022-offline-machine
Set Up Visual Studio on an Offline Machine - Visual Studio | Microsoft Learn
Create an offline installer using the following command line. In this example, vs_professional.exe is the Professional edition of Visual Studio, and VS2022Offline is the folder where you want to create the layout.
🌐
Reddit
reddit.com › r/dotnet › is the vs 2022 offline installer available?
r/dotnet on Reddit: Is the VS 2022 offline installer available?
February 21, 2025 -

Hello there,

I remember theres always an offline installer (about 22-25gb) to install visual studio completely.

2017 and 2019 had this type of installers, does anyone knows if VS 2022 offline installer is currently available?

Thank you

🌐
YouTube
youtube.com › watch
Install Visual Studio 2022 with Offline Installer - YouTube
Tutorial how to Install Visual Studio 2022 with Offline Installer.
Published   January 9, 2022
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 2202203 › how-do-i-update-the-visual-studio-2022-installer-o
How do I update the Visual Studio 2022 installer on an offline computer? Note that it refers to "setup.exe", not the VS main program - Microsoft Q&A
However, on part two, after you move the updated layout to the offline machine, you can choose to only update VS Installer, not VS. So, for part one, you can move the layout to the machine with network. Download the latest VS bootstrapper file from here: Downloads. Run the command like following: C:\XXXX\VisualStudioSetup.exe --layout C:\XXXX\MyLayout
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 1848141 › visual-studio-2022-installation
VISUAL STUDIO 2022 INSTALLATION - Microsoft Q&A
Run CMD as admin, run c:\localVSlayout\vs_enterprise.exe --noWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional
Top answer
1 of 2
1

Hi Billy,

Thank you for contacting us.

Regarding your concern, please note that Microsoft enforces activation per machine to prevent piracy and ensure compliance. You can still install Visual Studio Professional offline, but it requires manual product key entry or volume license setup, not a universal multi-access key. Below are the steps you should take:

  • You first need to install Visual Studio online
  • Create a layout for offline install, you can check this link for more specific guidance
  • Manually download and install missing certificate: 
    1. Download the certificate: http://www.microsoft.com/pkiops/certs/Microsoft%20Windows%20Code%20Signing%20PCA%202024.crt 
    2. Double-click the .crt file to open the Certificate window.  
    3. Click “Install Certificate…”  
    4. Choose “Local Machine” (you may need admin rights).  
    5. Select “Place all certificates in the following store”  
    6. Click “Browse…” and choose: Trusted Root Certification Authorities. Click Next, then Finish.  
    You should see a confirmation message: “The import was successful.”  
  • Copy the layout folder that you have just created to your offline device and run this command in the layout folder
      vs_professional.exe --noweb
    
    → Visual Studio Professional 2022 will be install offline
  • Go to Help → About Visual Studio → License Status Click Unlock with a Product Key. Enter the Product Key and click Apply
  • Visual Studio creates a request file containing your installation ID. Save this file and transfer it to an internet-accessed device.
  • On a device with internet access, go to the Microsoft Licensing Activation site (provided in the Visual Studio activation dialog) Upload the request file Microsoft will generate a response file then transfer the response file back to the offline machine.
  • In Visual Studio’s activation dialog, select Use Response File → Browse to the file and apply it Visual Studio will confirm activation.

I hope that these instructions will be helpful! If you have any other questions, feel free to reach out, I'm here to help.

Happy holiday!

2 of 2
0

Yes, Visual Studio can be installed on an offline PC. To do this, you need to create an offline installer using the Visual Studio installer on a machine with internet access. You can follow these steps:

  1. Download the Visual Studio installer from the Visual Studio page.
  2. Use the command line to create an offline installer layout. For example:
       "vs_professional.exe" --LayOut "C:\Temp\VS2022Offline" --Lang "en-US"
    
  3. Copy the created offline installer folder to the target offline machine.
  4. Run the installer from the copied folder using an administrator command prompt.
  5. Follow the setup wizard to complete the installation.

Additionally, Visual Studio Professional and Enterprise editions support offline activation via a product key, while Visual Studio Community does not support offline activation.


References:

  • Set up Visual Studio on an offline machine
  • Install certificates required for Visual Studio offline installation
  • SSIS Projects extension for Visual Studio 2022+ troubleshooting guide
🌐
GitHub
github.com › MicrosoftDocs › SupportArticles-docs › blob › main › support › developer › visualstudio › installation › set-up-vs-professional-2022-offline-machine.md
SupportArticles-docs/support/developer/visualstudio/installation/set-up-vs-professional-2022-offline-machine.md at main · MicrosoftDocs/SupportArticles-docs
In this example, vs_professional.exe is the Professional edition of Visual Studio, and VS2022Offline is the folder where you want to create the layout. "vs_professional.exe" --LayOut "C:\Temp\VS2022Offline" --Lang "en-US" After successfully creating the offline installer for Visual Studio, copy C:\Temp\VS2022Offline to the target offline machine.
Author   MicrosoftDocs
🌐
Reddit
reddit.com › r/mdt › silently install + configure visual studio 2022
r/MDT on Reddit: Silently Install + Configure Visual Studio 2022
September 16, 2024 -

Im struggling to add this application to my deployment share. Can you tell me what im missing here?

Heres whats happening: https://imgur.com/lXmCzYB

It attempts to download, and then just stays at 99% forever and never installs or puts any files on the computer.

Here is what I have on the MDT Side:
Quiet Install Command: vs_setup.exe --quiet --wait --norestart --includeRecommended --add Microsoft.VisualStudio.Workload.NetDesktop --add Microsoft.VisualStudio.Workload.Python --path cache="C:\toolkit\Applications\VS 2022"

What am I doing wrong here?

EDIT: after reading multiple comments and re-reading the documentation from microsoft - here is the process that worked for me!!

Download visual studio bootstrapper.exe: https://aka.ms/vs/17/release/vs_professional.exe

Then open CMD and run: vs_enterprise.exe --layout c:\localVSlayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Python --includeRecommended

This will download about 7GB of files to c:\localVSlayout.
Then once this is finished, it will create a file called "response.json"
Edit this file with notepadd++ and I added the following: "productKey": "{replace with product key}","arch":"x64"}

Then, inside of my deployment share, I added the visual studio application and here is my command line: vs_professional.exe --passive --norestart --wait --in response.json

This will fully install Visual Studio 2022 with my company product key and its ready to roll!!

Top answer
1 of 4
6
It is bad practice to deploy applications via the Internet when deploying OS images. Instead, create a local layout of VSPro2022 and install from there. Download the Visual Studio Bootstrapper: vs_professional.exe , and remove the "downloaded file block". Create an offline installation source by running: vs_professional.exe --layout C:\Layout --all --lang en-US This will download all missing/updated installation packages into the Layout sub-directory. This process requires about 75 GB of disk space and can take > 1 hour to complete. Wait for the layout creation to complete. Remove the "downloaded file block" from Layout\vs_Professional.exe and Layout\vs_setup.exe files. Import the layout folder into MDT. Set the command line as desired, such as: vs_professional.exe --quiet --wait --norestart --noweb --add "component-1" ... --add "component-n" --productKey xxx...xxx EDIT: To make it truely offline installation, you'll need to import the provided certificates to prevent the installer from requiring Internet access to verify the code signing certs Reference: https://docs.microsoft.com/en-us/visualstudio/install/install-certificates-for-visual-studio-offline?view=vs-2022 certutil.exe -addstore -f "Root" "layout\certificates\manifestRootCertificate.cer" certutil.exe -addstore -f "Root" "layout\certificates\manifestCounterSignRootCertificate.cer" certutil.exe -addstore -f "Root" "layout\certificates\vs_installer_opc.RootCertificate.cer"
2 of 4
2
Update: here is the solution that worked for me!! Download visual studio bootstrapper.exe: https://aka.ms/vs/17/release/vs_professional.exe Then open CMD and run: vs_enterprise.exe --layout c:\localVSlayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Python --includeRecommended This will download about 7GB of files to c:\localVSlayout. Then once this is finished, it will create a file called "response.json" Edit this file with notepadd++ and I added the following: "productKey": "{replace with product key}","arch":"x64"} Then, inside of my deployment share, I added the visual studio application and here is my command line: vs_professional.exe --passive --norestart --wait --in response.json This will fully install Visual Studio 2022 with my company product key and its ready to roll!!
🌐
Firehouse Mouse
firehousemouse.com › how-to-make-an-offline-installer-visual-studio-2022
How To Make An Offline Installer Visual Studio 2022 - Firehouse Mouse
February 6, 2024 - This guide will show you the steps to create an offline installer for Microsoft Visual Studio 2022.
Call   8555066873
Address   PO Box 202, 14036, Corfu
🌐
GitHub
gist.github.com › stormwild › 3a7f803113329d36511160534f60eef6
Visual Studio · GitHub
Create an offline installation - Visual Studio (Windows) | Microsoft Learn · Create a network-based installation - Visual Studio (Windows) | Microsoft Learn · Use command-line parameters to install Visual Studio | Microsoft Learn · Command-line parameter examples for installation - Visual Studio (Windows) | Microsoft Learn · Download Visual Studio 2022 Web Installer / ISO (Community / Professional / Enterprise)
🌐
DownloadDevTools
downloaddevtools.com › home › educational › how to download & install visual studio 2022 offline?
How to Download & Install Visual Studio 2022 Offline? - DownloadDevTools
April 30, 2025 - DownloadDevTools.com is another method. This method is simpler and provides a replaceable download source for developers. To use this method, follow the instructions: Go to the Visual Studio 2022 page.
🌐
Medium
bw861987.medium.com › how-i-install-and-updatevisualstudio-2022-with-an-offline-installer-for-asp-net-core-c50c68c4d6b8
How I install and updateVisualStudio 2022 with an offline installer for ASP.NET CORE | by Bjego | Medium
August 1, 2022 - Because of this I have to create an offline installation image for my VisualStudio 2022 instance and install this local version as an administrator. You can easily download the latest VS install clis from the official docs for offline installations.
🌐
GitHub
github.com › MicrosoftDocs › visualstudio-docs › blob › main › docs › install › create-an-offline-installation-of-visual-studio.md
visualstudio-docs/docs/install/create-an-offline-installation-of-visual-studio.md at main · MicrosoftDocs/visualstudio-docs
You can use the Download all, then install feature from the Visual Studio Installer to download an installation package on the local machine before you install it locally, or you can use the command line to create a local installation package ...
Author   MicrosoftDocs