Can't install the Visual Studio Installer

Snup Pandey 5 Reputation points
2023-01-20T02:21:21.94+00:00

Because I'm unable to install the Visual Studio Installer even though any of their applications were not in use, I can't debug my code/ source code.

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.
948 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.
971 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,546 Reputation points Microsoft Vendor
    2023-01-20T07:35:40.2733333+00:00

    Hi @Snup Pandey,

    Welcome to Microsoft Q&A forum.

    Normally, you need to check following things:

    1. Make sure that you have enough permissions to install VS(right-click the setup file to run as administrator if necessary).
    2. Make sure that there’s nothing blocks you from installing VS, such as group policy, antivirus software, proxy and extensions.
    3. Make sure that all the system requirements have been met.

    You may try following suggestions currently:

    1. Download the setup file from this link and save the setup file to another drive’s another clean folder. Right-click the setup file and run it as administrator.
    2. Update Windows OS and make sure that no Windows Update errors listed in Settings > Update & Security > Windows Update.
    3. Run CMD as administrator, and run DISM.exe /Online /Cleanup-image /Restorehealth command. Make sure that no errors prompted.

    If VS Installer still cannot be installed, please download and run collect.exe tool. Go to %temp% and find the vslogs.zip file/folder, unzip it and check the files start with dd_visualstudiosetup, dd_bootstrapper, dd_installer or dd_setup. And share the errors here for us to check further.

    Feel free to contact us.

    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.

    1 person found this answer helpful.
    0 comments No comments

  2. satya karki 986 Reputation points MVP
    2023-01-20T02:54:44.8233333+00:00

    Hi, Can you share the error? Do you have already Visual studio installed and you are going to upgrade it or First time you are installing Visual Studio?
    Sometimes restarting the machine and trying again helps.

    0 comments No comments