Right-click the ISO file > . Run the vs_enterprise.exe normally. The installer will detect the local sources and won't touch the internet.
Pro Tip: You can run the command multiple times with different IDs to add more workloads to the same folder; the installer is smart enough to merge them. visual studio 2022 offline installer iso best
For example, to only include .NET desktop and web development in English: vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US . Right-click the ISO file >
vs_community.exe --layout c:\vs2022_offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US Right-click the ISO file >