积极答复者
怎么以代码方式判断某个补丁已安装

问题
答案
-
您好:
如果想要查看某个补丁是否安装,在Windows8系统下我推荐使用PowerShell指令。
打开一个具有管理员权限的命令提示符,输入powershell,回车。
在powershell环境下再输入get-hotfix –id KB3132372回车,即可查看。
我已在我的Windows8机器上尝试,效果如下图
如果您仍然想要通过VC代码去查看补丁是否安装,我建议您前往我们的MSDN论坛发帖求助,请知悉。
https://social.msdn.microsoft.com/Forums/zh-CN/home
希望我的建议对您有所帮助。
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
- 已建议为答案 Teemo TangMicrosoft contingent staff, Moderator 2016年1月13日 9:26
- 已标记为答案 Michael_LSModerator 2016年1月25日 10:42
全部回复
-
您好:
如果想要查看某个补丁是否安装,在Windows8系统下我推荐使用PowerShell指令。
打开一个具有管理员权限的命令提示符,输入powershell,回车。
在powershell环境下再输入get-hotfix –id KB3132372回车,即可查看。
我已在我的Windows8机器上尝试,效果如下图
如果您仍然想要通过VC代码去查看补丁是否安装,我建议您前往我们的MSDN论坛发帖求助,请知悉。
https://social.msdn.microsoft.com/Forums/zh-CN/home
希望我的建议对您有所帮助。
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
- 已建议为答案 Teemo TangMicrosoft contingent staff, Moderator 2016年1月13日 9:26
- 已标记为答案 Michael_LSModerator 2016年1月25日 10:42
-
您好:
请问现在问题是否已得到解决?如果您采用我们的答复解决了问题请将其标记为答案以方便其他用户获取有用的帮助。如果您使用自己的方法解决问题,我们很乐意采纳您的方案。
如果您的问题依旧没有进展,请告知我们,我们会继续帮您处理。
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
- 已编辑 Teemo TangMicrosoft contingent staff, Moderator 2016年1月26日 1:06