vs_enterprise.exe --layout C:\VSLayout
Run the following command (adjust the file name for your edition): vs_professional.exe --noWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop microsoft visual studio 2022 offline installer download
vs_community.exe --noweb --quiet --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --norestart vs_enterprise
(Note: Replace vs_community.exe with vs_professional.exe or vs_enterprise.exe if you downloaded a different edition.) microsoft visual studio 2022 offline installer download