title: How to let MSI reboot without user interaction before installation finished?
body: <p>I'm building the MSI using Visual Studio Installer Project. One requirement I have is automatically reboot system before installation finished. By saying 'automatically', I mean there is no customer interaction, e.g. click a button to trigger the reboot. Also, the reboot should to be suppressable by /norestart option to the msi.</p>
  
  <p>I tried to edit MSI with Orca by adding the property REBOOT = Force. But this will pop a yes/no windows for user to click. Reboot will happen only after user click yes, which is not automatically.</p>
  
  <p>Also I tried to call Win32 API <strong>InitiateSystemShutdownEx</strong> to initiate the reboot. But in this case, I can't disable the reboot by /norestart option.</p>