title: Detecting if SQL Server Compact Edition 3.5 SP2 x64 is installed?
body: <p>I am building an installer and I want to bootstrap SQL Server Compact Edition 3.5 SP2.  The problem is that I am looking for the registry key <code>HKLM\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU\DesktopRuntimeVersion</code>. The reason that is a problem is that for 64-bit machines SQL CE requires that both the 32-bit and 64-bit installers are run.  You can't install the 64-bit version until the 32-bit version is installed.  </p>
  
  <p>As soon as the 32-bit version is installed the registry key is populated and my bootstrapper, <a href="http://dotnetinstaller.codeplex.com/" rel="noreferrer">dotNetInstaller</a> detects that the registry key is there and the x64 version is never installed.</p>
  
  <p>Any ideas on how to tell if the x64 version is installed even if the x32 is installed?</p>