Changes

Jump to: navigation, search

Software Update:Manually Installing a MAR file

6 bytes added, 03:24, 28 January 2010
no edit summary
# Create a directory '''outside''' of the application's installation directory to be updated (e.g. <code>C:\app-update\</code>). This directory will be referred to as the '''outside''' directory throughout the instructions below so please make a note of its location. Grant the user account you are using Full Control permissions on this directory if it doesn't have these permission already.
# Copy <code>updater.exe</code> from the application's installation directory that is to be upgraded into the '''outside''' directory. If you would like to display the updater user interface while it is applying the update also copy the <code>updater.ini</code> into the '''outside''' directory.
# Download the appropriate .mar file and put it into the '''outside''' directory you created (see [[Software_Update:Manually_Installing_a_MAR_file#Downloading_a_mar_fileWhere_to_get_a_mar_file|Downloading Where to get a mar file]]).
# 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).
# Create a directory '''outside''' of the application's installation directory to be updated (e.g. <code>/app-update/</code>). This directory will be referred to as the '''outside''' directory throughout the instructions below so please make a note of its location. Grant the user account you are using write, read, and execute permissions on this directory if it doesn't have these permission already.
# Copy <code>updater.app</code> from inside the application's package that is to be upgraded into the '''outside''' directory. For Firefox 3.5 and above, SeaMonkey 2.0 and above, and Thunderbird 3.0 and above if you would like to display the updater user interface while it is applying the update also copy the <code>updater.ini</code> into the '''outside''' directory. The <code>updater.app</code> package and <code>updater.ini</code> file are located in the app bundle's Contents/MacOS/ directory (e.g. for Firefox it is located in <code>Firefox.app/Contents/MacOS/</code>).
# Download the appropriate .mar file and put it into the '''outside''' directory you created (see [[Software_Update:Manually_Installing_a_MAR_file#Downloading_a_mar_fileWhere_to_get_a_mar_file|Downloading Where to get a mar file]]).
# Rename the mar file you downloaded to update.mar.
# Open a Terminal and change the working directory to the application's package directory by using the cd command (e.g. for Firefox <code>cd /Applications/Firefox.app/</code>). '''Important:''' running the update from within another directory will fail to update the existing installation properly.
# Create a directory '''outside''' of the application's installation directory to be updated (e.g. <code>/app-update/</code>). This directory will be referred to as the '''outside''' directory throughout the instructions below so please make a note of its location. Grant the user account you are using write, read, and execute permissions on this directory if it doesn't have these permission already.
# Copy <code>updater</code> from the application's installation directory that is to be upgraded into the '''outside''' directory. If you would like to display the updater user interface while it is applying the update also copy the <code>updater.ini</code> into the '''outside''' directory.
# Download the appropriate .mar file and put it into the '''outside''' directory you created (see [[Software_Update:Manually_Installing_a_MAR_file#Downloading_a_mar_fileWhere_to_get_a_mar_file|Downloading Where to get a mar file]]).
# Rename the mar file you downloaded to update.mar.
# 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.
Confirm
1,041
edits

Navigation menu