Cannot reinstall visual studio

Mdouille Mda 1 Reputation point
2022-08-11T17:41:06.55+00:00

Hello, so two days ago I had an error message after updating VS and apparently couldn't repair it so I decided to reinstall it.

Now the visual studio installer crashes and shows these errors:

230578-vserror.png

I uninstalled and reinstalled all .net frameworks/sdks and runtimes but it didn't change anything. I really don't know what to do, everything worked flawlessly before I decided to update 2 days ago..

I join the log files. Any help will be much appreciated!

230496-dd-visualstudiosetup-decompression-log.txt230447-dd-bootstrapper-20220811193842.log

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Setup
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,151 Reputation points Microsoft External Staff
    2022-08-16T09:36:52.277+00:00

    Hi @Mdouille Mda ,

    Would you like to do a clean uninstallation of VS?

    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
    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

    After the clean uninstallation, please check for your Windows Updates and install all pending updates.
    Besides, you can run the troubleshooter to check if there are any problems in your computer: open Windows Settings ( Windows + I ) > Go to Update & Security > Troubleshoot > Windows Update.

    Then, reboot your computer and download the new bootstrapper file from https://visualstudio.microsoft.com/downloads/ to install VS.

    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.

    0 comments No comments

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.