Windows Service Silent Update: Difference between revisions

Jump to navigation Jump to search
Line 66: Line 66:


The command line parameters are as follows:
The command line parameters are as follows:
1. The name of the service: MozillaMaintenance
* The name of the service: MozillaMaintenance
2. The name of the service command to run.  Currently only the "software-update" command is allowed.
* The name of the service command to run.  Currently only the "software-update" command is allowed.
3. All service-command specific command line arguments.
* All service-command specific command line arguments.


Other commands being considered include clearing prefetch for faster startup, defraging user profile data, and other actions not yet discussed.  
Other commands being considered include clearing prefetch for faster startup, defraging user profile data, and other actions not yet discussed.  


The "software-update" command specific command line arguments are as follows:
The "software-update" command specific command line arguments are as follows:
1. MozillaMaintenance
* MozillaMaintenance
2. software-update
* software-update
3. The arguments normally passed to updater.exe: updater.exe update-dir apply [wait-pid [callback-dir callback-path args]]
* updater.exe
* update-dir
* apply-dir
* [wait-pid]
* [callback-dir] (unused by the service but should be passed)
* [callback-path] (unused by the service but should be passed)
* [callback args] (unused by the service but should be passed)
 
Note: The normal updater.exe command line parameters are as follows:
updater.exe update-dir apply [wait-pid [callback-dir callback-path args]]


== Applying an update from Firefox's perspective  ==
== Applying an update from Firefox's perspective  ==
Confirmed users
394

edits

Navigation menu