Hello @eshrimp ,
Welcome to Microsoft Q&A forum.
The VS Installer can be installed successfully, but the VS failed to be installed. Either something blocks the installation, or there’s something wrong in the system environment. You can try following methods to narrow this issue down.
- Open CMD as administrator, run
DISM.exe /Online /Cleanup-image /Restorehealth
command, wait for it finishes running, runsfc /scannow
command. After that try to reinstall VS. These two commands help to repair the corrupted or missing system files. - Put the setup file into a new empty folder (a different location, with simple directory structure) and then run it as administrator.
- Navigate to
C:\Program Files (x86)\Microsoft Visual Studio\Installer
folder, find and run the vs_installershell.exe file as administrator, see if this works. - Check the limitations on your machine, such as antivirus, group policy and security management software. Make sure that they won’t block VS from installing.
- Update Windows OS and make sure that there’s no Windows Update error.
- Reboot your machine, directly navigate to
%Temp%
folder. Rename the%Temp%
folder from "Temp" to "Temp_backup" and install VS again. - Try to download and run the troubleshooter tool, follow the wizard to uninstall/reinstall VS.
- Here’s a similar thread for your reference: Visual Studio Setup installer does not open.
Please feel free to let us know the results.
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.