title: Inno Setup RegKeyExists on 64 bit systems
body: <p>I created a setup with Inno Setup and wanted to query the registry using Pascal Script</p>
  
  <pre><code> if RegKeyExists(HKEY_LOCAL_MACHINE, 'SOFTWARE\Classes\\Installer\UpgradeCodes\342603A924F08FA4B95B5C283FC13D13') then
  </code></pre>
  
  <p>My setup is 32bit (as is my Software I want to install), but on 64bit systems, the query is redirected to <code>HKCR\Wow6432Node\\Installer\UpgradeCodes</code></p>
  
  <p>Of course, the key is not found, even though it is there. How can I detect the key even though my setup remains 32bit?</p>