Installing Custom Extensions

Tanmay 21 Reputation points
2022-02-18T10:31:37.21+00:00

Hi,

We are currently working on installing Visual Studio 2022 via command line. Wanted to know whether is there a way to install custom extensions during Visual Studio setup itself, and if not, do you recommend a way to administratively install extensions right after VS setup (Also, given that installation requires a reboot, and prevents VSIXInstaller.exe from working right after)?

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

Accepted answer
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2022-02-21T08:40:04.44+00:00

    Hi @Tanmay ,

    Welcome to Microsoft Q&A forum.

    You need to install Visual Studio firstly and then install the extension separately. If you’d like to install Visual Studio extensions by using command line, you need to use VSIXInstaller.exe and some command line tools.

    Since VSIXInstaller.exe is necessary, if rebooting prevents it from working, you need to reuse the VSIXInstaller.exe with corresponding command line to finish installing Visual Studio extension.

    Perhaps you need to consider how to let the command line tool starts automatically after rebooting and then run the command line automatically.

    Best Regards,
    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.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.