如果我刚安装了MSI请求窗口重启怎么发现的? [英] How to find out if an MSI I just installed requested a windows reboot?

查看:147
本文介绍了如果我刚安装了MSI请求窗口重启怎么发现的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立在C#中的setup.exe运行几个链接微星(与/ quiet / NORESTART)。最后我想检查一下机器需要重新启动(即,如果微星的一个请求的重启)。

I've built a setup.exe in c# that runs several chained MSI's (with the /QUIET /NORESTART ). At the end I'd like to check if a reboot is needed in the machine (that is, if one of the MSI's requested a reboot).

我怎样才能检测?所以

推荐答案

下面的注册表键的信息:

The following registry key has the information:

HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

来源:的 http://technet.microsoft.com/en-us/sysinternals/bb897556.aspx

这篇关于如果我刚安装了MSI请求窗口重启怎么发现的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆