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…
- 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
- 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.
- Update Windows OS, and make sure that there are no Windows Upgrade errors.
- 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.