To create a complete, portable offline installation layout of that can be deployed on machines without internet access.
Copy the entire C:\VS2022_Offline folder to the target machine (USB drive, network share, etc.).
& $bootstrapper --layout $layoutPath --lang en-US --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.Git --includeRecommended
Download vs_enterprise.exe from: 🔗 https://visualstudio.microsoft.com/downloads/ (Requires a valid Visual Studio Enterprise subscription or trial.)
⚠️ Visual Studio 2022 requires a – Windows 7 is not supported.