title: How can I use multiple Check functions in the [Registry] section?
body: <p>Sample:</p>
  <pre><code>Root: &quot;HKLM64&quot;; Subkey: &quot;Software\Community Talks\Public Talks\Preferences&quot;; \
    ValueType: dword; ValueName: &quot;ReuseCong&quot;; ValueData: &quot;{code:ReuseCongregation}&quot;; \
    Flags: uninsdeletevalue; Check: IsNewInstall IsWin64
  Root: &quot;HKLM64&quot;; Subkey: &quot;Software\Community Talks\Public Talks\Preferences&quot;; \
    ValueType: dword; ValueName: &quot;Duplicate&quot;; ValueData: &quot;{code:Duplicate}&quot;; \
    Flags: uninsdeletevalue; Check: IsNewInstall IsWin64
  Root: &quot;HKLM64&quot;; Subkey: &quot;Software\Community Talks\Public Talks\Preferences&quot;; \
    ValueType: dword; ValueName: &quot;Language&quot;; ValueData: &quot;{code:DatabaseLanguage}&quot;; \
    Flags: uninsdeletevalue; Check: IsNewInstall IsWin64
  </code></pre>
  <p>Will not compile:</p>
  <blockquote>
  <p>Error on line 406 in <code>setup.iss</code>: Directive or parameter <code>&quot;Check&quot;</code> expression error: Invalid token <code>'IsWin64'</code> found.</p>
  </blockquote>
  <hr />
  <p>I can't change the <code>IsNewInstall</code> function:</p>
  <pre class="lang-pascal prettyprint-override"><code>// Returns True if we are performing a new install
  function IsNewInstall(): Boolean;
  begin
    // Make sure IsUpgrading has already beed called.
    result := not bIsUpgrading;
  end;
  </code></pre>
  <p>But I include it if it helps.</p>