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

Mikhail Nikitin 20 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.

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anna Xiu-MSFT 31,166 Reputation points Microsoft External Staff
    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

Your answer

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