Visual Studio Installer Straight up crashes after clicking install button

STYX 20 Reputation points
2023-12-18T19:06:16.9766667+00:00

I am currently facing challenges while attempting to download Visual Studio using the installer. Despite exploring various solutions found online, I have not been able to resolve the issue. It seems that whenever I select the option to download Visual Studio, the installer abruptly closes without initiating the download process.

If anyone has encountered a similar issue or has successfully resolved it, I would greatly appreciate any assistance or guidance you could provide. Your insights and suggestions will be invaluable in helping me overcome this obstacle.

Thank you very much for your time and consideration. Your assistance is highly appreciated.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,705 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
    2023-12-19T03:07:02.5333333+00:00

    Hello @STYX,

    Welcome to Microsoft Q&A forum.

    Did you do something special before this issue appeared? Such as removing some system files, uninstalling previous installed Visual Studio, changing some Windows Registry Keys, using some proxy/extension/antivirus…

    1. Please make sure that following folders and Registry keys don’t exist(rename or remove them. Back up the Registry keys before you remove them) and then put the VS setup file into the root of C drive for example C:\VSSetup.exe and run it as administrator.

    C:\Program Files (x86)\Microsoft Visual Studio

    C:\Program Files\Microsoft Visual Studio

    %programdata%\Microsoft\visualstudio\packages

    %Temp%(try to just rename this folder, instead of removing it. You may need to reboot your machine)

    C:\Users\username\AppData\Local\Microsoft\VisualStudio\1X.0_XXXXXXXX

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\Setup

    1. Make sure that there’s no permission limitation on your machine and there’s enough free disk space. Try to disable antivirus, clean web browser cache, reboot your machine and reinstall VS.
    2. Update Windows OS, and make sure that there are no Windows Upgrade errors.
    3. If above don’t work, please download and run this collect.exe tool. Navigate to %Temp% folder, extract the vslogs.zip folder, open the subfolder Temp, and check the files start with dd_(dd_bootstrapper, dd_installer, dd_setup), share us the error message that recorded in them for further check.

    Sincerely,

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful