I'm having continuing problems updating/installing Visual Studio 2022 from an offline layout.
The Visual Studio offline installer and package tree were downloaded according to the following link:
https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022
Commands on Internet connected system:
vs_Professional.exe --layout c:\Temp\vslayout --lang en-US
vs_Professional.exe --layout c:\Temp\vslayout --lang en-US --verify (77 missing packages)
vs_Professional.exe --layout c:\Temp\vslayout --lang en-US --fix
vs_Professional.exe --layout c:\Temp\vslayout --lang en-US --verify (all packages OK)
The 70.1GB tree was then transferred to the system to be updated.
Command on air-gap system:
.\vs_setup.exe --layout F:\vslayout\ --noweb
Error from Visual Studio Installer:
Setup can't continue. We need to download some files to complete the operation, but the --noweb parameter was specified. Please remove the --noweb parameter and try again.
Current best guess is that the previous install of 2022 was from a different location and that location is saved in Visual Studio ... somewhere.
Uninstall performed.
https://learn.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2022#uninstall-visual-studio
'C:\Program Files (x86)\Microsoft Visual Studio\Installer\InstallCleanup.exe' -i 17
Ran the installation command (.\vs_setup.exe --layout F:\vslayout\ --noweb) again. Same error. Logs say that it's trying to install from the Internet.
Collected the logs.
https://www.microsoft.com/en-us/download/details.aspx?id=12493
Reported problem (doing that now):
https://learn.microsoft.com/en-us/answers/questions/ask/
The 'vslogs.zip' file couldn't be attached due to limitations in this. How do I get the log files uploaded?
From WINVER:
Windows Server 2016
Version 1607
OS Build 14393.7699