title: Convert Boolean to String with Inno Setup
body: <p>What is the easiest way to convert a Boolean value into a String in an Inno Setup Pascal script? This trivial task that should be completely implicit seems to require a full-blown <code>if</code>/<code>else</code> construction.</p>
  
  <pre class="lang-pascal prettyprint-override"><code>function IsDowngradeUninstall: Boolean;
  begin
      Result := IsCommandLineParamSet('downgrade');
      MsgBox('IsDowngradeUninstall = ' + Result, mbInformation, MB_OK);
  end;
  </code></pre>
  
  <p>This doesn't work because "Type mismatch". <code>IntToStr</code> doesn't accept a <code>Boolean</code> neither. <code>BoolToStr</code> does not exist.</p>