【发布时间】:2012-06-08 04:01:06
【问题描述】:
如何在 Burn (WiX) 引导程序中引用 RebootPending 属性? 我知道属性名称是 RebootPending,它实际上是在引用 Windows Installer 中的 MsiSystemRebootPending 属性。
我目前正在尝试这样的事情:
<bal:Condition Message="There is a restart pending. Please restart your computer before attempting to install !(loc.ProductName).">RebootPending = 0</bal:Condition>
但这始终是正确的,即使 Windows 更新刚刚完成更新并需要重新启动。
我的语法错了吗?我的情况应该改为 [RebootPending] 吗?
得知 Burn 中的 RebootPending 属性可能与 Windows Installer 使用的属性不完全对应,我还能如何确保我的应用程序在重新启动挂起时不会尝试安装?
【问题讨论】:
标签: wix windows-installer wix3.6 burn