vs_community.exe --layout C:\VS2022_Layout_Python --add Microsoft.VisualStudio.Workload.Python --lang en-US To see a list of all available workload IDs, use:
vs_community.exe --layout C:\VS2022_Layout_Selective --fix --clean Be careful: This will delete old versions. If you have machines that cannot update to the latest VS version, do not use --clean . Error: "Installation location must be empty" Problem: You are trying to install VS into a folder that already has files. Solution: Specify a new, empty directory for the installation target, or delete the contents of the target folder. Error: "A setup package is either missing or damaged" Problem: Your USB drive has file corruption or you copied the layout without preserving the directory structure. Solution: Re-copy the files. Ensure you are copying the entire folder hierarchy. For large transfers, use robocopy : visual studio community 2022 offline installer
vs_community.exe --layout C:\VS2022_Layout_Selective --config C:\VS2022_Layout_Selective\install_config.json Edit that JSON file to set silent options (e.g., "installChannelUri": ".\\ChannelManifest.json" ). vs_community