title: Inno setup : Custom messages
body: <p>We package few other thirdparty softwares along with our installer,and also install them during 
  the installation of our product. We install them in silent mode and capture their exit codes,
  so sotimes, they get installed successfully and give exitcode as "3010" which is reboot required.
  So, in those cases we want to show reboot page at the last but want to give a custom message.</p>
  
  <p>what is the best way to show the custom message on the finish page?</p>
  
  <pre><code>[Messages]
  #if FileExists("c:\RebootFile.txt")==0 
    FinishedRestartLabel=To complete the installation of ConditionalMessageOnWizard, Setup must restart your computer. Would you like to restart now?
  #else
    FinishedRestartLabel=Reboot Required
  #endif
  </code></pre>
  
  <p>I am using the above code, but i am unable to use the dynamic paths like {sd} or {tmp} for fileexists function.</p>
  
  <p>Can anyone help?</p>