xshell5安装中出现安装程序组件错误解决办法

以管理员身份运行以下命令,此操作将启动所需的服务。
sc config wuauserv start= auto
sc config bits start= auto
sc config DcomLaunch start= auto
net stop wuauserv
net start wuauserv
net stop bits
net start bits
net start DcomLaunch
然后,再次安装(如有无权设置并启动的服务,请尝试重启计算机,然后安装)

方法源于:https://answers.microsoft.com/zh-hans/windows/forum/windows_7-windows_programs/%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F%E7%BB%84/61d4d2ae-b298-4144-9ec6-feec79a5078c

https://blog.csdn.net/stronger_helloworld/article/details/79021560