搜尋 Mozilla 技術支援網站

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

Learn More

How update Firefox on startup, before process starts.

more options

Hello,

we have some issues when user run Firefox with already updated profile on Firefox which version is older. Users check "create new profile" and after that report that all them settings are gone.

We can use start parameter: -allow-downgrade or just remove compatibility.ini if Firefox version not like profile version.

But we don`t want do this, I we think the best way is not start Firefox until it update. Can we force update Firefox using config or start parameter?

Hello, we have some issues when user run Firefox with already updated profile on Firefox which version is older. Users check "create new profile" and after that report that all them settings are gone. We can use start parameter: -allow-downgrade or just remove compatibility.ini if Firefox version not like profile version. But we don`t want do this, I we think the best way is not start Firefox until it update. Can we force update Firefox using config or start parameter?

所有回覆 (3)

more options

Hi Denis!

Please check https://wiki.mozilla.org/Windows_Service_Silent_Update#Service_command_line_parameters , see if it helps on your use case and let us know if this solves your question.

Thanks!

more options

alex_mayorga said

Hi Denis! Please check https://wiki.mozilla.org/Windows_Service_Silent_Update#Service_command_line_parameters , see if it helps on your use case and let us know if this solves your question. Thanks!

Unfortunately, I did not find a way to start the service.

$Service = "MozillaMaintenance" Invoke-Expression "cmd /c sc start MozillaMaintenance software-update updater.exe update-dir apply-dir [wait-pid] [callback-dir] [callback-path] [callback args]"


As far as I understand, it starts with arguments that we cannot recognize. How to start this service? :)

Thanks.

more options

Look like firefox.exe download updates. And only after download completed start service for apply updates.