搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

What registry keys indicate that Firefox is installed?

more options

On windows machines, what registry keys can i look at to determine if Firefox is installed? So far I've been looking for HKLM\Software\Mozilla\Firefox but have just found a user's machine where that key doesn't exist but they have firefox. It seems they have firefox installed to C:\Users\xxx rather than Program Files so I'm assuming there's a way for non-admin users to install it only into their User section, and the installer only writes to HKCU section of the registry. In this user's case there were HKCU registry entries like this, among others:

[HKEY_CURRENT_USER\Software\Mozilla\Mozilla Firefox\31.0 (x86 en-US)\Main] "Install Directory"="C:\\Users\\ausername\\AppData\\Local\\Mozilla Firefox" "PathToExe"="C:\\Users\\ausername\\AppData\\Local\\Mozilla Firefox\\firefox.exe"

On windows machines, what registry keys can i look at to determine if Firefox is installed? So far I've been looking for HKLM\Software\Mozilla\Firefox but have just found a user's machine where that key doesn't exist but they have firefox. It seems they have firefox installed to C:\Users\xxx rather than Program Files so I'm assuming there's a way for non-admin users to install it only into their User section, and the installer only writes to HKCU section of the registry. In this user's case there were HKCU registry entries like this, among others: [HKEY_CURRENT_USER\Software\Mozilla\Mozilla Firefox\31.0 (x86 en-US)\Main] "Install Directory"="C:\\Users\\ausername\\AppData\\Local\\Mozilla Firefox" "PathToExe"="C:\\Users\\ausername\\AppData\\Local\\Mozilla Firefox\\firefox.exe"

由 rkn005 於 修改

所有回覆 (1)

more options

You may can go here https://developer.mozilla.org/en-US/docs/Accessing_the_Windows_Registry_Using_XPCOM


I'm not a developer you may contact a developer to help your problem.