vs_BuildTools.exe installation crashes without error message

sharky! 0 Reputation points
2024-10-02T02:16:06.4733333+00:00

I am new to Visual Studio and C++ but need to install Visual Studio Build Tools. When I open "vs_BuildTools.exe", it gets very close to finishing its installation, but then it crashes without any error message. I have already tried a reboot. Can someone help? Thanks,

Sharky

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

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2024-10-02T07:20:31.3866667+00:00

    Hi @sharky, 

    Welcome to Microsoft Q&A! 

    Do you mean that the installation crashes immediately when running the .exe file? Is it the Build Tools for Visual Studio 2022

    Please try the following workarounds:

    1. If you have any anti-virus software or group policy, please temporarily disable it. Or refer to the document and add domain URLs to an allowlist.
    2. Check for Windows Update.
    3. Go to Visual Studio Installer folder: C:\Program Files (x86)\Microsoft Visual Studio\Installer, and run the vs_installershell.exe file.
    4. Re-download the Build Tools for Visual Studio 2022 from the page and move the .exe file to a clean folder in another drive.
    5. Put the .exe file in root of C drive like C:\setup.exe and run it as administrator. 

     

    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.


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.