How to get rid of "Before you get started, we need to setup few things..." dialog

Mikhail Nikitin 0 Reputation points
2024-07-04T09:14:24.19+00:00

In an automation scenario, I want to install VS 2022 non-interactively. I download the VisualStudioSetup.exe and try running it with different parameters, but regardless of what I do that dreaded dialog pops up, requiring a button click. Which parameter am I missing? I tried passive, quiet, NoRefresh, SuppressRefreshPrompt.

I would also like the exe to wait until the installation is finished.

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.
999 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 27,561 Reputation points Microsoft Vendor
    2024-07-04T11:20:41.8666667+00:00

    Hi @Mikhail Nikitin, 

    Welcome to Microsoft Q&A! 

    Please use the command: VisualStudioSetup.exe --quiet --wait.

    It prevents any user interface from being displayed until the installation is finished. 

    Sincerely,

    Anna


    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.


0 additional answers

Sort by: Most helpful