How to install Visual studio 2022 pro silently or from Intune?

Ritesh Sharma 266 Reputation points
2023-10-26T12:09:43.9566667+00:00

Hi Team

How can i install Visual studio pro 2022 using Intune or what the command line argument to install it silently.

Regards

Ritesh Sharma

Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
908 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 10,580 Reputation points Microsoft Vendor
    2023-10-27T06:31:43.3666667+00:00

    @ Ritesh Sharma,Thanks for posting in Q&A.

    From your description, I know that you want to install Visual studio 2022 pro silently or via Intune.

    Based on my testing, I found that you can try the command below to install Visual studio 2022 pro silently on device.

    C:\visual\vs_pro.exe --installPath C:\desktopVS ^--addProductLang fr-FR ^--add Microsoft.VisualStudio.Workload.ManagedDesktop ^--includeRecommended --quiet --wait

    C:\viaual\vs_pro.exe means the exe package location. And the language is French by default.

    https://video2.skills-academy.com/en-us/visualstudio/install/command-line-parameter-examples?view=vs-2022#install-using---installpath-alongside-the-bootstrapper

    Hope this can be helpful.

    If the answer is helpful, 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.