Installing Visual Studio Offline from System Account does not work

Anonymous
2023-08-31T05:28:30.58+00:00

We are trying to use the Layout feature to install Visual Studio 2022 Professional.

The idea is that SCCM will do the install (ordered from our central webshop) and this is using a system user for the actual install.

We are currently stuck at the Setup.exe still tries to get the files from the Internet (even though we specify –noWeb)

If we start the installer from a PSexec session run with system authorization/account. (which should give a similar environment as the SCCM installer) we get into troubles

We do not want to have the installer get the files from Internet. We have the layout (52GB) on a share

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.
1,142 questions
Microsoft Configuration Manager
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,296 Reputation points Microsoft External Staff
    2023-09-01T03:20:35.7866667+00:00

    Hello @Anonymous ,

    Welcome to Microsoft Q&A forum.

    Some packages may be missing, please try to download a new VS bootstrapper, for VS 2022 Pro, download it from here: vs_professional.exe. With this new bootstrapper and the existing layout, run the command again, but this time add --verify and --fix parameters. For example: vs_professional.exe --layout c:\xxxxx --add xxxxx --add xxxx --verfiy --fix. After the process finishes, try to install VS again with the fixed layout.

    Besides, does this issue appear on the specific machine or on all the machines?

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


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.