请检查--服务中的 Windows Management Instrumentation 是否在运行,启动这个服务再安装就可以了。 https://developercommunity.visualstudio.com/content/problem/1038410/packageidmicrosoftvisualstudiosetupwmiproviderpack-11.html