Hi, @Ian Lackie
Welcome to Microsoft Q&A!
If you want to create an offline installation of Visual Studio on a computer with a network, you should use the
--layout
parameter, for example:
vs_enterprise.exe --layout c:\vslayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US
For Layout command and command-line parameters, you can refer to this document.
After this, you need to copy the offline layout file to your server, you can Copy the layout to a network share.
Then you need to install Visual Studio from the cache in your server, you can refer to step 3.
Update:
You can try to use --verify
and --fix
to Verify and fix a layout on your own machine. Then copy it to the server for installation.
Sincerely,
Peng
*
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread