Ways to successfully uninstall VS2019

Can you please follow the cleanup steps and retry your VS install, run the InstallCleanup.exe tool will remove installation files and product information for all installed instances of Visual Studio 2017 or Visual Studio 2019:

See if you have this file on your machine: “%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe”
If so, please launch it from an admin command prompt with a -full param
InstallCleanup.exe –full

If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
Relaunch the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe…)
Allow the first step to install the installer
Once the installer comes up and you can see workload choices (.net desktop and the like), close it
Go launch the same InstallCleanup.exe to clean up old build of VS
Verify that your initial install location for VS is removed. If it is not, delete it manually.
Then relaunch vs_enterprise.exe and install VS

Please follow the cleanup steps to retry your VS installation. Running the InstallCleanup.exe tool will delete all installation files and product information of the Visual Studio 2017 or Visual Studio 2019:

Check if there is this file on the computer: "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe"
If so, please start it from the administrator command prompt with -complete parameters It
InstallCleanup.exe –full

If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer" folder.
Restart the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe...) to
allow the first step of
installing the installer After the program appears, you can see the workload option (.net desktop, etc.), turn it off
to start the same installation cleanup .exe to clean up the old version
of VS. Verify that your VS initial installation location has been deleted. If it is not, delete it manually.
Then restart vs_enterprise.exe and install VS

Guess you like

Origin blog.csdn.net/bj_zhb/article/details/104131524