Confirmed users
1,041
edits
No edit summary |
m (grammar fix) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== IMPORTANT == | |||
Using this method is not officially supported. | |||
We strongly encourage users to stay up to date by installing the most recent version of Firefox and allowing it to update itself through the built-in mechanism. The built-in process does a number of important things including CPU, OS and other checks before proceeding. | |||
== Overview == | == Overview == | ||
Line 8: | Line 13: | ||
== Where to get a mar file == | == Where to get a mar file == | ||
Below are examples of where localized mar files for Linux, Mac OS X, and Windows can be downloaded from. | Below are examples of where localized mar files for Linux, Mac OS X, and Windows can be downloaded from. You will need to navigate to the version directory, to the updates directory, and then to the platform directory for the mar file that you want to apply. | ||
* Firefox (including ESR) http://archive.mozilla.org/pub/firefox/releases/ | |||
* Firefox ESR http:// | |||
* SeaMonkey http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/ | * SeaMonkey http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/ | ||
* Thunderbird | * Thunderbird (including ESR) http://archive.mozilla.org/pub/thunderbird/releases/ | ||
== Installing from the command line == | == Installing from the command line == | ||
'''Important:''' | '''Important:''' | ||
* Changes made to all applications in version 56.0 require updating or installing version 56.0 of the application before updating to a newer version. | |||
* The user account used to perform the update '''MUST''' have the appropriate permissions (e.g. Full Control on Windows, write, read, and execute on Linux and Mac OS X, etc.) on the application's installation directory that is being updated and on the '''outside''' directory defined below. | * The user account used to perform the update '''MUST''' have the appropriate permissions (e.g. Full Control on Windows, write, read, and execute on Linux and Mac OS X, etc.) on the application's installation directory that is being updated and on the '''outside''' directory defined below. | ||
* If you are updating an application on Windows Vista or greater with UAC enabled then you may need to launch cmd.exe with "Run as administrator" (available in the context menu when right clicking cmd.exe) as well. | * If you are updating an application on Windows Vista or greater with UAC enabled then you may need to launch cmd.exe with "Run as administrator" (available in the context menu when right clicking cmd.exe) as well. | ||
* All paths '''MUST''' be full paths using the platform convention. | |||
* All paths '''MUST''' not contain traversal directives in the path. | |||
* Paths containing spaces passed to the updater '''MUST''' be quoted (e.g. "C:\Program Files\temp"). If you quote a path to a directory and include the trailing \ you must escape the \ with a \ so the " isn't escaped (e.g. "C:\Program Files\temp\\"). | * Paths containing spaces passed to the updater '''MUST''' be quoted (e.g. "C:\Program Files\temp"). If you quote a path to a directory and include the trailing \ you must escape the \ with a \ so the " isn't escaped (e.g. "C:\Program Files\temp\\"). | ||
* To use a partial mar file you '''MUST''' be updating the build it was created from (e.g. for Firefox firefox-3.5.6-3.5.7.partial.mar can only update Firefox 3.5.6). | * To use a partial mar file you '''MUST''' be updating the build it was created from (e.g. for Firefox firefox-3.5.6-3.5.7.partial.mar can only update Firefox 3.5.6). | ||
Line 30: | Line 36: | ||
# Rename the mar file you downloaded to update.mar. | # Rename the mar file you downloaded to update.mar. | ||
# Open a command prompt by running cmd.exe. On Windows Vista or greater you may need to launch cmd.exe with "Run as administrator" (available in the context menu when right clicking cmd.exe). | # Open a command prompt by running cmd.exe. On Windows Vista or greater you may need to launch cmd.exe with "Run as administrator" (available in the context menu when right clicking cmd.exe). | ||
# Change the working directory to the application's installation directory by using the cd command (e.g. for Firefox <code>cd "C:\Program Files\Mozilla Firefox"</code>). '''Important:''' running the update from within another directory will fail to update the existing installation properly with Firefox 3.6.x and below, SeaMonkey 2.0.x and below, and Thunderbird 3.1.x and below. | # Change the working directory to the application's installation directory by using the cd command (e.g. for Firefox <code>cd "C:\Program Files\Mozilla Firefox"</code> or <code>cd "C:\Program Files (x86)\Mozilla Firefox"</code>). '''Important:''' running the update from within another directory will fail to update the existing installation properly with Firefox 3.6.x and below, SeaMonkey 2.0.x and below, and Thunderbird 3.1.x and below. | ||
# Close all instances of the application that are running on the system including those being used by other users before going any further. '''Important:''' not doing so will cause the update to fail. | # Close all instances of the application that are running on the system including those being used by other users before going any further. '''Important:''' not doing so will cause the update to fail. | ||
# For Firefox 34.x and above, SeaMonkey 2.31.x and above, or Thunderbird 34.x and above run the following from the command prompt. The additional <code><path to installation directory></code> is used by applications for update staging and when manually applying a mar the value for this command line parameter must be the path to the installation directory.<br><pre style="white-space: pre-wrap; | # For Firefox 34.x and above, SeaMonkey 2.31.x and above, or Thunderbird 34.x and above run the following from the command prompt. The additional <code><path to installation directory></code> is used by applications for update staging and when manually applying a mar the value for this command line parameter must be the path to the installation directory.<br><pre style="white-space: pre-wrap; | ||
Line 65: | Line 71: | ||
white-space: -pre-wrap; | white-space: -pre-wrap; | ||
white-space: -o-pre-wrap; | white-space: -o-pre-wrap; | ||
word-wrap: break-word;"><path to outside directory>/updater.app/Contents/MacOS/updater <path to outside directory> <path to installation directory> <path to installation directory></pre><br>For Firefox 4.x through 33.x, SeaMonkey 2.1.x through 2.31.x, or Thunderbird 5.x through 33.x | word-wrap: break-word;"><path to outside directory>/updater.app/Contents/MacOS/updater <path to outside directory> <path to installation directory> <path to installation directory></pre><br>For Firefox 4.x through 33.x, SeaMonkey 2.1.x through 2.31.x, or Thunderbird 5.x through 33.x run the following from the command prompt<br><pre style="white-space: pre-wrap; | ||
white-space: -moz-pre-wrap; | white-space: -moz-pre-wrap; | ||
white-space: -pre-wrap; | white-space: -pre-wrap; | ||
Line 88: | Line 94: | ||
# Open a shell and change the working directory to the application's installation directory by using the cd command. '''Important:''' running the update from within another directory will fail to update the existing installation properly with Firefox 3.6.x and below, SeaMonkey 2.0.x and below, and Thunderbird 3.1.x and below. | # Open a shell and change the working directory to the application's installation directory by using the cd command. '''Important:''' running the update from within another directory will fail to update the existing installation properly with Firefox 3.6.x and below, SeaMonkey 2.0.x and below, and Thunderbird 3.1.x and below. | ||
# It is recommended that all instances of the application that are running on the system including those being used by other users are closed before going any further. '''Important:''' though this should never cause the update to fail there might be cases where it will and it can definitely break a running instance of the application. | # It is recommended that all instances of the application that are running on the system including those being used by other users are closed before going any further. '''Important:''' though this should never cause the update to fail there might be cases where it will and it can definitely break a running instance of the application. | ||
# For Firefox | # For Firefox 40.x and above run the following from the command prompt after adding the path to the existing installation directory to the '''LD_LIBRARY_PATH''' environment variable. The additional <code><path to installation directory></code> is used by applications for update staging and when manually applying a mar the value for this command line parameter must be the path to the installation directory.<br><pre style="white-space: pre-wrap; | ||
white-space: -moz-pre-wrap; | |||
white-space: -pre-wrap; | |||
white-space: -o-pre-wrap; | |||
word-wrap: break-word;"><path to outside directory>/updater <path to outside directory> <path to installation directory> <path to installation directory></pre><br>For Firefox 34.x through 39.x, SeaMonkey 2.31.x and above, or Thunderbird 34.x and above run the following from the command prompt. The additional <code><path to installation directory></code> is used by applications for update staging and when manually applying a mar the value for this command line parameter must be the path to the installation directory.<br><pre style="white-space: pre-wrap; | |||
white-space: -moz-pre-wrap; | white-space: -moz-pre-wrap; | ||
white-space: -pre-wrap; | white-space: -pre-wrap; |