title: Restart computer in [Code] in Inno Setup
body: <p>I would like to redesign my finish page.</p>
  
  <p>What I did is I disabled the original finish page</p>
  
  <pre><code>DisableFinishedPage=true
  </code></pre>
  
  <p>and then created a custom page to replace it</p>
  
  <pre class="lang-pascal prettyprint-override"><code>CreateCustomPage(wpInfoAfter, 'test', 'test');
  </code></pre>
  
  <p>My question is, after an user clicks the <em>Next</em> in my custom page, I would like the installer to restart the computer.</p>
  
  <p>But how do I call restart within the <em>Next</em> button's event handler?</p>
  
  <p>Thanks.</p>