To create the necessary offline files, follow these steps using the official Visual Studio Bootstrappers:
On the offline computer, run the installer from your layout folder using the --noWeb flag to prevent it from trying to reach Microsoft's servers. C:\VS2022Layout\vs_enterprise.exe --noWeb Use code with caution. Copied to clipboard
Creating a local layout allows you to install Visual Studio on machines without internet access by downloading all required files beforehand. : Use the command line to create the layout.
vs_enterprise.exe --layout C:\VS2022_Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US