Changes

Jump to: navigation, search

Windows Service Silent Update

113 bytes removed, 15:53, 6 January 2012
Service work items
Only if the newer version number is greater will it be replaced. This means that if the user runs builds like Nightly, then the Nightly service would update all other channels. It will therefore always be backwards compatible.
== Service work items command line parameters ==
A 'work item' service operation is just a file that contains the info that is usually passed to updater.exe to perform an update. Firefox writes out work items, and executed by starting the service consumes those work items and performs the action specified within.The only action currently supported is to execute updater.exewith special command line parameters.
Later we plan The command line parameters are as follows:1. The name of the service: MozillaMaintenance2. The name of the service command to also support commands for clearing prefetch for faster startup, defraging user profile data, and other actions not yet plannedrun. Currently only the "software-update" command is allowed.3. All service-command specific command line arguments.
The very simple file format of these work items is: *A 4 byte command IDOther commands being considered include clearing prefetch for faster startup, defraging user profile data, and other actions not yet discussed.*The application path to updater.exe to use*The command line string to pass to updater.exe: updater.exe update-dir apply [wait-pid [callback-dir callback-path args]]
The 4 byte "software-update" command ID is specific command line arguments are as follows:1. MozillaMaintenance2. software-update3. The arguments normally passed to help identify future commandsupdater. A value of 1 is the only accepted value for now and all other values will not perform any action from the serviceexe: updater.exe update-dir apply [wait-pid [callback-dir callback-path args]]
== Applying an update from Firefox's perspective ==
Confirm
394
edits

Navigation menu