How do I reference the Reboot Pending Property in Burn (WiX)

前端 未结 4 1506
遥遥无期
遥遥无期 2020-12-18 08:27

How do I reference the RebootPending property in a Burn (WiX) bootstrapper? I know the property name is RebootPending, which is actually referencing the MsiSystemRebootPend

4条回答
  •  别那么骄傲
    2020-12-18 08:58

    Burn doesn't use MSI's MsiSystemRebootPending because it operates outside an installation transaction. So Burn uses ISystemInformation::RebootRequired instead. There's no guarantee that MSI and ISystemInformation::RebootRequired have the same idea about whether a reboot is required, since MSI doesn't document with MsiSystemRebootPending reflects.

提交回复
热议问题