如何检测 运行 MSI 安装

How to detect a running MSI Installation

我正在寻找一种方法来检测 Windows 安装程序安装是否已经在进行中。到目前为止我发现的是:

有人知道更聪明的解决方案吗?

同上:

check for windows installer mutex availability

还有这个:

http://blogs.msdn.com/b/heaths/archive/2006/01/23/516454.aspx

问题 1:

http://blogs.msdn.com/b/windows_installer_team/archive/2005/11/09/487559.aspx