解决了,先运行C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout下的InstallCleanup.exe
然后找到你的当初vs2017community安装文件:vs_community__xxxxxxxxx.xxxxxxxxx.exe
注意,不是上面提到的C:\Program Files (x86)\Microsoft Visual Studio\Installer\下的installer.exe