VS 2019 FAILS on Offline Installation

CSW2541 106 Reputation points
2021-03-26T13:14:23.27+00:00

First of all... according to the VS support pages, you can ONLY submit a support request through the Visual Studio IDE, AND IT WON'T INSTALL. Did not one think about putting a link to this forum where it could be found? I'm on the second day of fighting this.

I am trying to jump from 2010 to 2019. I don't use every bleeding edge version that comes out because I don't like creating issues for developers, or users every year or so.

Installing from an ISO sure was nice. Now you can't do that.

Using this page, I downloaded the components I wanted:

https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019

Specially I picked these:

--add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop

Then when I run the installer, it automatically has those two checked. So that looks good... When I tell it to start, a rudimentary popup that looks like it's from Windows 1.0 appears and says there are "packages missing from the layout" (or something... you can't Copy/Paste from that popup... an INCOMPETENT feature)

My offline command is:

"vs_Professional.exe --noweb --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended"

Of course the web page instruction doesn't explain ANY of the command line arguments.
What is "layout"? That means a web page builder to me...

I assume "noweb" means offline... but how does it know where the downloads are?

I need to support C++ and C#, so I am just GUESSING that "Managed" and "Native" are the correct packages.

Where do I get help for this?

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
964 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,626 Reputation points Microsoft Vendor
    2021-03-30T09:05:36.99+00:00

    Hi @ScottWeber-1142 ,

    It is noted that you need an internet connection to create a local layout which contains all components you want to install.
    Please try to use the --verify command to verify if your layout is missing packages.

    Sincerely,
    Anna

    • 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.
    0 comments No comments