Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Command line update of Firefox, NOT reinstall?

  • 3 trả lời
  • 4 gặp vấn đề này
  • 2678 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I would like to silently update Firefox in the background without a user starting the browser (or even being logged in). Is there any way to do this??

On Windows, the Mozilla update service (if installed) makes Firefox updates silent, but updates are only discovered when the Browser is started and recognizes that there is an update. Not all machines have the service installed.

The latest Firefox installer can be run silently, but that installs the latest version over top the older version. It does not update. At the very least an "over-install" removes extensions in the "program directory/distribution/extensions" and puts an icon on the desktop if there isn't one. There are probably other subtle differences too (download size?).

At a minimum there should be something like an "/update" switch to have a similar effect as a user starting the browser and opening the "About" dialog window. It should initiate and complete (if the update service is installed) the internal update process but silently (i.e. without any windows). Even better would be if it didn't require the service when run elevated and didn't create a profile (e.g. for the case where it is run as SYSTEM).

If this exists, it is not well documented. If not, why not?? This is not an unusual request (based on my searches) or an unreasonable feature. If it uses the same, existing process that the GUI uses, then I don't see a security risk either.

Thanks.

I would like to silently update Firefox in the background without a user starting the browser (or even being logged in). Is there any way to do this?? On Windows, the Mozilla update service (if installed) makes Firefox updates silent, but updates are only discovered when the Browser is started and recognizes that there is an update. Not all machines have the service installed. The latest Firefox installer can be run silently, but that installs the latest version over top the older version. It does not update. At the very least an "over-install" removes extensions in the "program directory/distribution/extensions" and puts an icon on the desktop if there isn't one. There are probably other subtle differences too (download size?). At a minimum there should be something like an "/update" switch to have a similar effect as a user starting the browser and opening the "About" dialog window. It should initiate and complete (if the update service is installed) the internal update process but silently (i.e. without any windows). Even better would be if it didn't require the service when run elevated and didn't create a profile (e.g. for the case where it is run as SYSTEM). If this exists, it is not well documented. If not, why not?? This is not an unusual request (based on my searches) or an unreasonable feature. If it uses the same, existing process that the GUI uses, then I don't see a security risk either. Thanks.

Giải pháp được chọn

The links to the latest Firefox versions have been decommissioned, so you need to go to the update directory of the version you need.

You need these three files in the updates\0 folder to update Firefox via a MAR file:

  • update.mar (renamed update partial/complete.mar)
  • update.status: pending + linefeed (0x0A) (use this data URI: data:text/plain,pending%0A)
  • update.version: xx.xx.xx (version to update to, e.g. 50.1.0)
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (3)

more options

You can only update Firefox from within a browser that is running. Otherwise you would have to download the corect MAR file and apply the update manually yourself.

wiki.mozilla.org/Software_Update wiki.mozilla.org/Software_Update:Manually_Installing_a_MAR_file wiki.mozilla.org/Software_Update:updates.xml_Format

You need these three files in the updates\0 folder to update Firefox via a MAR file:

  • update.mar (renamed update partial/complete.mar)
  • update.status: pending + linefeed (0x0A) (use this data URI: data:text/plain,pending%0A)
  • update.version: xx.xx.xx (version to update to, e.g. 50.1.0)
more options

That is potentially useful info but the links provided in the "Manually Installing a MAR file" page are 404's. I also can't find any outside references for where to get, or how to use MAR files that are newer than about 8 years ago.

Although the modification date stated on those wiki pages is 2016, there are references up to only v.33 of Firefox. That and the broken links and lack of outside verification don't give me confidence that this information is still valid.

more options

Giải pháp được chọn

The links to the latest Firefox versions have been decommissioned, so you need to go to the update directory of the version you need.

You need these three files in the updates\0 folder to update Firefox via a MAR file:

  • update.mar (renamed update partial/complete.mar)
  • update.status: pending + linefeed (0x0A) (use this data URI: data:text/plain,pending%0A)
  • update.version: xx.xx.xx (version to update to, e.g. 50.1.0)