To Install vs_buildtools__1905366768.1601556757.exe Install and Uninstall silently with required workloads

Ramesh Krishnappa (external) 1 Reputation point
2021-03-04T14:43:10.453+00:00

Hi Team,

Please help me with silent commands for Install and Uninstall with required workload as attachment.
Please treat as high priority, very urgent.

Thanks & Regards
Ramesh74383-vs-2019-buildtools.png

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,004 questions
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,050 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,421 Reputation points
    2021-03-05T02:53:38.713+00:00

    Hi RameshKrishnappaexternal,

    You can type these commands to install and uninstall this tool:

    • Offline download build tool
      vs_buildtools.exe --layout C:\Users\[username]\Documents\tempInstall --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.TestTools.BuildTools --add Microsoft.VisualStudio.Component.VC.ASAN --lang en-US --quiet
    • Install build tool
      1. Find the vs_buildtools_[number].exe in layout folder
      2. Run this command: "C:\Users\Administrator\Documents\tempinstall\vs_buildtools__1918087662.1600134275.exe" --noweb --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.TestTools.BuildTools --add Microsoft.VisualStudio.Component.VC.ASAN
    • Uninstall build tool
      vs_buildtools.exe uninstall --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" --quiet

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    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.**


  2. Ramesh Krishnappa (external) 1 Reputation point
    2021-03-05T14:37:50.78+00:00

    Hi DylanZhu-MSFT,

    Its not working. please help me out

    Thanks
    Ramesh


  3. Ramesh Krishnappa (external) 1 Reputation point
    2021-03-08T08:51:23.293+00:00

    75382-image.png

    75364-test.png

    The requirement is to install only 5 components of C++ build tools as per the attached screenshot. 75379-vs-2019-buildtools.png


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.