To update an offline installation, you must re-run the layout command on an online machine to a new or existing folder and then copy the updated files to the offline machine. Microsoft Learn specific command-line arguments
cd D:\VS2022_Offline vs_enterprise.exe --layout --off