title: Error reading registry entry for Firefox
body: <p>I have an AutoIt v3 script (copied from the author of <code>FF.au3</code>):</p>
  
  <pre><code>#Include &lt;FF.au3&gt;
  
  _FFStart("http://ff-au3-example.thorsten-willert.de/")
  
  If _FFIsConnected() Then
      Sleep(2000)
      _FFAction("presentationmode", True)
      Sleep(2000)
      _FFOpenURL("http://www.google.com")
      Sleep(2000)
      _FFAction("back")
      _FFAction("presentationmode", False)
      Sleep(2000)
      _FFOpenURL("chrome:bookmarks")
      Sleep(2000)
      _FFAction("alert", "Bye bye ...")
      _FFQuit()
  EndIf
  
  Exit
  </code></pre>
  
  <p>But when I run it, I get an error message:</p>
  
  <pre><code>__FFStartProcess ==&gt; General Error: Error reading registry entry for FireFox.
  HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox\*CurrentVersion*\Main\PathToExe
  Error from RegRead: 1
  </code></pre>
  
  <p>I have Firefox and AutoIt v3 installed, I downloaded the <code>FF.au3</code> UDF to same directory as my script, and I have MozRepl Firefox plugin installed and activated (it's active at the menu->plug-ins, I don't see the "Activate on startup" option). I do have an entry at:</p>
  
  <pre><code>HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox\26.0 (pl)\Main
  </code></pre>
  
  <p>That points to the right destination. Why is there an "Error reading registry entry for FireFox."?</p>