Visual Studio 2019: Install on computer without internet connectivity

Brian Schmidt 1 Reputation point
2022-01-28T10:55:22.793+00:00

We need to install a copy of Visual Studio 2019 on a computer without an internet connection, it must be entirely installed by file(s) we physically place on it.

MSFT no longer provides ISO images and the instructions for creating an offline installation (https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022) clearly state "Do not use the Download all, then install feature to create a local cache that you intend to transfer to another computer. It's not designed to work that way."

Given this information, how can we do this? We would very much dislike to use another IDE but do not see how we can get this installed on that network.

Developer technologies Visual Studio Setup
Developer technologies Visual Studio Other
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,861 Reputation points
    2022-01-28T11:32:14.903+00:00

    Use the command line to download an offline installer the download and then install option in the ui will only work that computer

       vs_enterprise.exe --layout c:\localVScache --lang en-US
    

  2. John 1 Reputation point
    2022-05-13T21:16:19.71+00:00

    When creating a Visual Studio 2022 offline installer I ran into a similar problem with "Microsoft.VisualStudio.DebuggerClient.Concord.Remote.Resources,version=17.2.32414.121,chip=x64,language=en-US,productarch=neutral"

    Upon closer inspection of the layout, I found that the component's directory name had become mangled. I don't know at what step in the process this happened, but I corrected the directory name (copied the full package name listed in the error log and renamed the directory), retried the installation, and the installation completed with no problems.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.