https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022 Answer from JohnnyKeyboard on reddit.com
🌐
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

🌐
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!!
🌐
Reddit
reddit.com › r/c_programming › visual studio offline local layout install on computer with no internet - questions
r/C_Programming on Reddit: Visual Studio Offline Local Layout Install On Computer With No Internet - Questions
June 22, 2022 -

I used a computer with internet to download and make a offline local layout folder via cmd and it started to download the C++ workloads etc. Then when it finished I copied the offline local layout folder onto a USB stick so I can begin installing it on the client pc that has no internet connection.

On the client pc how do I begin the offline install? Do I need to run it via CMD? I also want to use the —noweb flag to avoid it accessing anything from the web. I want this to be purely offline.

So how do I begin doing this? What do I type to start the offline install with the noweb flag and do I get to select the install location? Can anyone help me with what I need to type in cmd on the client pc?

Thanks

🌐
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
The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads. ... Thanks for reaching out! You may face certification revocation check errors during offline ...
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.

🌐
Reddit
reddit.com › r/visualstudio › offline install doesn't work
r/VisualStudio on Reddit: Offline install doesn't work
July 15, 2021 -

just out of curiosity, has anyone been able to get an offline installation of visual studio 2022 to actually install? i downloaded 31GB of dog shit installed the certificates

and the fucking piece of turd still tries to download shit and refuses to install

really don't appreciate having my time FLUSHED down the bowl like that

fucking scumbag visual studio developers

that product has completely jumped the shark

there is NO fucking reason microsoft shouldn't be providing visual studio isos today

they make you jump through pointless hoops and then it doesn't even fucking work

https://cdn.discordapp.com/attachments/197420215363960832/1005511008363749456/unknown.png

it's not just me fucking ridiculous can't wait until my next toilet requires an internet connection. then i'll be able to skip the middleman while FLUSHING

Find elsewhere
🌐
Reddit
reddit.com › r/mdt › zero-touch, silent install visual studio community 2022 help
r/MDT on Reddit: Zero-Touch, silent Install Visual Studio Community 2022 Help
August 27, 2024 -

I am attempting a zero-touch deployment of a Windows 10 Enterprise VM and am installing 7 applications. So far when I test it, Windows and every application up until Visual Studio Community 2022 deploys without any issues or user input. When the mdt installer gets to VisualStudio, it doesn't install it at all, there is no initial installation that gets started, it is like it can't find the file. However, when I go and manually add the files I have mdt set to, to the deploying vm's drive and enter the same script I have mdt perform, into cmd, visual studio installs without any issues.

I have the offline installer installed, with only Managed Desktop and Net Web. My installation script is as follows: VisualStudioSetup.exe --quiet --norestart --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb

VisualStudioSetup.exe is an an application folder which contains about 2.94gb of files.

I am at my wits end trying to figure this out. I do not understand how it works when I manually enter the same script for the same file mdt has, and yet mdt can't even start the VS installation, yet all the other apps which use the same method of silent install script and point to the install file, works.

Any and all help would be greatly appreciated! I can provide more details if needed.

🌐
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
Search for Visual Studio Professional 2022 and select Key. Select the 25-digit volume license key and copy it. Launch the Visual Studio shortcut as an administrator. On the menu bar, select Help > Register Product.
🌐
Reddit
reddit.com › r/sccm › help package/deploy visual studio 2022 (again)
r/SCCM on Reddit: Help Package/Deploy Visual Studio 2022 (again)
February 24, 2023 -

I have created a complete local layout and downloaded all of the components to a folder using the command:

vs_professional.exe --layout C:\Folder --lang en-US

However, when I run the command to install VS (PSDADT wrapper):

Execute-Process -Path "$mountpath\vs_setup.exe" -Parameters "--add Microsoft.VisualStudio.Workload.Data;IncludeRecommended --passive --force --nocache --wait"

I can see that the installer is still downloading some components:

Since I am using SCCM/MECM and I am trying to build a completely offline installer, I am worried about this apparent download during installation.

I am curious if this a "Real" download, or if the installer is just parsing through the files in the local layout and just calling it "downloading"?

Thoughts? thanks in advance.

Top answer
1 of 4
4
Here's my download line: "vs_Professional.exe" --layout c:\vs2022offline --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.Python --add Microsoft.VisualStudio.Workload.Node --add Microsoft.VisualStudio.Workload.Data --add Microsoft.VisualStudio.Component.LinqToSql --includeRecommended --lang en-US Here's my install line: "vs2022offline\vs_professional.exe" --quiet --wait --in "vs2022offline\Response.json" --norestart Here's the response file: { "installChannelUri": ".\\\\ChannelManifest.json", "channelUri": "https://aka.ms/vs/17/release/channel", "installCatalogUri": ".\\\\Catalog.json", "channelId": "VisualStudio.17.Release", "productId": "Microsoft.VisualStudio.Product.Professional", "add": \["Microsoft.VisualStudio.Component.CoreEditor;includeRecommended", "Microsoft.VisualStudio.Component.LinqToSql;includeRecommended", "Microsoft.VisualStudio.Workload.Data;includeRecommended", "Microsoft.VisualStudio.Workload.ManagedDesktop;includeRecommended", "Microsoft.VisualStudio.Workload.NetWeb;includeRecommended", "Microsoft.VisualStudio.Workload.Node;includeRecommended", "Microsoft.VisualStudio.Workload.Python;includeRecommended", "Microsoft.VisualStudio.Workload.Universal;includeRecommended"\], "productKey": "XXXXXXXXXXXXXXXXXX", "addProductLang": \["en-US"\] }
2 of 4
3
Hi Fitsgeezy, Here is some documentation that might help you out if you're trying to install VS *completely* offline... https://learn.microsoft.com/en-us/visualstudio/install/update-a-network-installation-of-visual-studio?view=vs-2022#programatically-update-a-client-that-doesnt-have-internet-access https://learn.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022#install-on-a-client-that-doesnt-have-internet-access https://learn.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022#configure-initial-client-installation-defaults-for-this-layout https://learn.microsoft.com/en-us/visualstudio/install/automated-installation-with-response-file?view=vs-2022#example-customized-layout-response-file-content A couple other points to keep in mind - The installer is separate from the product. The installer always tries to update itself to latest first. --noWeb only applies to VS product updates. Doesn't affect the VS installer. You probably want to change you channelURI in response.json example below to point to your offline layout. Right now, your "backup" source is pointing to the internet, so the intaller will look there if it can't find components in your layout. Hope this info helps a bit. If you have any requests for this space or suggestions for improvements, please file that here https://aka.ms/vs/admin/feedback under either the "Report a problem/VS" or "Request a feature/VS" heading on the left side nav bar. Thanks :)
🌐
Reddit
reddit.com › r/visualstudio › help with vs 2022 removal
r/VisualStudio on Reddit: Help with VS 2022 removal
3 weeks ago -

I am trying to remove Visual Studio 2022 and .NET SDK 9.0.305 from an offline machine (no internet access). I can transfer files/resources from another machine, but all troubleshooting on the target system has to be offline.

I uninstalled Visual Studio 2022, but it still appears in Programs and Features. I am also trying to remove Microsoft .NET SDK 9.0.305, but when I try to uninstall the SDK, Windows says it was installed through Visual Studio and must be managed through the Visual Studio Installer.

The problem is that the Visual Studio Installer appears to be missing. The Installer folder / executable is not present on the machine (for example, "C:\Program Files (x86)\Microsoft Visual Studio\Installer\" is missing).

What I have tried so far:

• Tried to uninstall Visual Studio normally

• Tried to uninstall .NET SDK 9.0.305 from Programs and Features (blocked by Visual Studio Installer dependency)

• Tried an in place upgrade / repair path

• Downloaded an offline Visual Studio layout on another machine and transferred it

• Ran "vs_setup.exe --noWeb" from the layout folder

Current behavior:

• "vs_setup.exe --noWeb" launches, shows the Continue screen, then closes/disappears after I click Continue

• No visible installer process stays running after that

I am trying to avoid deleting broad Visual Studio / .NET registry entries blindly. I am open to targeted manual cleanup if that is the only practical option.

Does anyone have guidance on additional steps I can try to restore the installer enough to uninstall cleanly, or a safe way to remove the orphaned Visual Studio 2022 and .NET SDK 9.0.305 entries on an offline machine?

🌐
Reddit
reddit.com › r/visualstudio › visual studio installer error, need help!
Visual Studio Installer Error, Need Help! : r/VisualStudio
May 5, 2025 - Have you looked this over https://learn.microsoft.com/en-us/visualstudio/releases/2022/system-requirements · Lastly, try to create an offline installation package https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022 so the installer already has the files needed locally before the attempted installation.
🌐
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
Visual Studio is designed to work well in various computer configurations. In this article, you learn how to create an offline installation package of files for installation on the local machine.
🌐
Super User
superuser.com › questions › 1749638 › visual-studio-2022-build-tools
windows - Visual Studio 2022 build tools - Super User
The script should download an offline installer and install it on a machine. Visual studio 2022 does not provide offline installer, but it can be created using Create an offline installation document.