Not able to run visual studio installer

Fahim Ahmad 1 Reputation point
2022-08-23T06:10:07.1+00:00

I am not able to run visual studio installer

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.
743 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AnnaXiu-MSFT 13,026 Reputation points
    2022-08-24T10:32:00.097+00:00

    Hi @Fahim Ahmad ,

    From looking at your logs, It seems that you uninstalled the VS2022 before. Your issue may be caused by an unclean uninstallation.

    Please try the following steps and check if it works for you:

    1. Manually delete any leftover install and cache folder you previously installed to
      C:\Program Files (x86)\Microsoft Visual Studio
      %programdata%\Microsoft\visualstudio\packages
      C:\Program Files\Microsoft Visual Studio
      C:\Users\<UserName>\AppData\Local\Microsoft\VisualStudio
    2. Delete the setup registry key, which was set when you first installed(Maybe there is only one key, please check one by one.):
      HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup
      HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\Setup
    3. If you have anti-virus software and group policy, please temporarily disable them
    4. Download the new bootstrapper file from https://visualstudio.microsoft.com/downloads/ 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.


  2. Fahim Ahmad 1 Reputation point
    2022-08-25T08:48:57.167+00:00

    Hi Anna,

    I have already tried these tasks listed below

    • Microsoft .NET Framework Repair Tool
    • sfc /scannow
    • DISM /Online /Cleanup-Image /CheckHealth and restore health
    • Cleared temp folder.

    but the thing which actually worked for me is, I uninstalled all the frameworks installed in my PC and installed framework through windows update.

    My issue is resolved now.