theme644
c:\vs2022_offline\vs_community.exe --quiet --wait --norestart
With a predefined workload:
c:\vs2022_offline\vs_community.exe --quiet --wait --norestart ^
--add Microsoft.VisualStudio.Workload.ManagedDesktop ^
--includeRecommended
vs_community.exe --layout c:\vs2022_offline --lang en-US --update
The web installer always pulls the latest available minor version and security patches. For enterprise testing, you often need the exact version you validated. Creating an offline layout preserves a specific build (e.g., 17.8.0) forever. visual studio community 2022 offline installer