'You are using 32-bit version of Firefox' when regular Firefox is not installed at all

Open
#31 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
tooling

Research direction

Start with the web-ext run path that discovers Firefox on Windows and produces the shown warning and spawn error. Reproduce the Developer Edition-only registry layout from the issue, then verify the 32-bit warning appears only when a 32-bit Firefox is installed and no 64-bit Firefox can be found.

Written by the indexing model from the issue text.

Description

I only have Developer Edition installed on my system:

> web-ext run
You are using 32-bit version of Firefox on 64-bit versions of the Windows.
Some features may not work correctly in this version. You should upgrade Firefox
 to the latest 64-bit version now!
Error: spawn C:\Program Files (x86)\Mozilla Firefox\firefox.exe ENOENT
    at exports._errnoException (util.js:1050:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Here is the registry dump:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\TaskBarIDs]
"C:\\Program Files\\Firefox Developer Edition"="CA9422711AE1A81C"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition]
@="56.0"
"CurrentVersion"="56.0 (x64 zh-TW)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition\56.0 (x64 zh-TW)]
@="56.0 (x64 zh-TW)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition\56.0 (x64 zh-TW)\Main]
"Install Directory"="C:\\Program Files\\Firefox Developer Edition"
"PathToExe"="C:\\Program Files\\Firefox Developer Edition\\firefox.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition\56.0 (x64 zh-TW)\Uninstall]
"Description"="Firefox Developer Edition 56.0 (x64 zh-TW)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition 56.0]
"GeckoVer"="56.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition 56.0\bin]
"PathToExe"="C:\\Program Files\\Firefox Developer Edition\\firefox.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox Developer Edition 56.0\extensions]
"Components"="C:\\Program Files\\Firefox Developer Edition\\components"
"Plugins"="C:\\Program Files\\Firefox Developer Edition\\plugins"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService]
"Attempted"=dword:00000001
"Installed"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService\5af7e3254c94d35f13dcf43d6f519f62]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService\5af7e3254c94d35f13dcf43d6f519f62\0]
"name"="Mozilla Corporation"
"issuer"="DigiCert SHA2 Assured ID Code Signing CA"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService\5af7e3254c94d35f13dcf43d6f519f62\1]
"name"="Mozilla Corporation"
"issuer"="DigiCert Assured ID Code Signing CA-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Thunderbird]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Thunderbird\Extensions]

We should only display that error message if:

  1. 32-bit version Firefox is installed
  2. Can't find 64-bit version of Firefox
Dominant language
JavaScript
Stars
15
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/node-fx-runner

All issues in mozilla/node-fx-runner

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.