Share via

Visual Studio Code Installer Closes Before Finished

Aaron Baerbock 0 Reputation points
2024-08-19T02:23:17.9566667+00:00

Whenever I try to run VisualStudioSetup.exe for C++, it runs just fine... Until it doesn't. It loads in a tiny window, goes into a big window, and then just closes before it even gets to 1% with no error message. Any help or feedback would be helpful!

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,836 Reputation points Microsoft External Staff
    2024-08-19T08:54:30.82+00:00

    Hello @Aaron Baerbock,

    Welcome to Microsoft Q&A forum.

    Please first check the limitations on your machine, such as permission limitation, antivirus, security management software and group policy. Make sure that they won’t block VS from installing(if your machine is managed by your company, try to communicate with IT/administrator and double confirm the limitations).

    Try to put the setup file into the root directory(for example C:\VisualStudioSetup.exe) and run it as administrator.

    Update Windows OS and reboot your machine.

    If above don’t work, kindly check following methods:

    1. Rename the C:\Users\username\AppData\Local\Temp Temp folder(you may need to reboot your machine first).
    2. Check Visual Studio system requirements, make sure that your machine meets all the system requirements.
    3. Try to download this collect.exe tool, run it, go to C:\Users\username\AppData\Local\Temp Temp folder, search and find the vslogs.zip file. Open this file/folder, there’s a sub-folder also called temp, open it and check the files start with dd_bootstrapper, dd_installer, dd_setup. Share us the detailed error message that you found for further check.

    Please feel free to let us know the result :)

    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.

    Was this answer 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.