title: How do I reference the Reboot Pending Property in Burn (WiX)
body: <p>How do I reference the RebootPending property in a <a href="http://en.wikipedia.org/wiki/WiX#Burn" rel="nofollow">Burn</a> (WiX) bootstrapper?
  I know the property name is RebootPending, which is actually referencing the  MsiSystemRebootPending property in Windows Installer.</p>
  
  <p>I'm currently trying something like this:</p>
  
  <pre><code>&lt;bal:Condition Message="There is a restart pending. Please restart your computer before  attempting to install !(loc.ProductName)."&gt;RebootPending = 0&lt;/bal:Condition&gt;
  </code></pre>
  
  <p>But it's always true, even when Windows Update has just finished an update and needs to restart.</p>
  
  <p>Is my syntax wrong? Should my condition have [RebootPending] instead?</p>
  
  <p>Having been informed that the RebootPending property inside Burn may not correspond exactly to the property that Windows Installer uses, how else would I ensure that my application does not attempt to install when a reboot is pending?</p>