Silent Update OS Dialogs/TestPlan/QuickStartGuide: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "= New to this Feature? Would you like to try it? Get a quick start guide! =")
 
No edit summary
Line 1: Line 1:
= New to this Feature? Would you like to try it? Get a quick start guide! =
= New to this Feature? Would you like to try it? Get a quick start guide! =
Here is a quick start guide to help you understand how the Silent Update works: For more information regarding the process, please take a look at the process description wiki page: https://wiki.mozilla.org/Windows_Service_Silent_Update
== Platforms that requires testing ==
This feature is Windows specific only, so if you are a Windows owner you can choose from the following platforms:
*Windows 2000
*Windows 2003 32-bit and d4-bit
*Windows 2008 32-bit and 64-bit
*Windows 2008R2 32-bit and 64-bit
*Windows XP 32-bit and 64-bit
*Windows Vista 32-bit and 64-bit
*Windows 7 32-bit and 64-bit
== Quick Start Guide - Get Started ==
1. Download the proper build.
* currently the feature is available on the Nightly builds that can be downloaded from [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/ here]
* the downloaded mozilla central build must be older than January 5th (2012-01-05-08-39-33-mozilla-central/) and doesn't need to be the latest builded (to verify that the service works properly when updating).
2. Install the build in order to get the Mozilla Maintenance Service
* on an standard installation type the Install Maintenance Service box is checked by default.
* you need to check the Install Maintenance Service box on a custom install.
'Note': the service is an optional component and if it's not installed or if it is disabled the update will work the old way, by using updater.exe
3. Check that Mozilla Maintenance Service was installed - from a command prompt you can run "sc query MozillaMaintenance"
If it is installed you will see the the following output:
SERVICE_NAME: MozillaMaintenance
      TYPE              : 10  WIN32_OWN_PROCESS 
      STATE              : 1  STOPPED
      WIN32_EXIT_CODE    : 1077  (0x435)
      SERVICE_EXIT_CODE  : 0  (0x0)
      CHECKPOINT        : 0x0
      WAIT_HINT          : 0x0
If it is not installed, you will see the following output:
  [SC] EnumQueryServicesStatus:OpenService FAILED 1060:
  The specified service does not exist as an installed service.
* check the maintenanceservice-install log (the log contains the message that the service was installed succesfully). The logs are available in the all users application data.
* the Mozilla Maintenance Service is also listed in the programs list, under the Programs directory, in Control Panel and also in the services list (Right click on My Computer -> Manage -> Services and Applications -> Services).
4. Perform an update using the service:
* Open the Nightly that you just installed and go to the Help menu -> About:Nightly -> wait for the update to be  downloaded and click on the Apply Update button.
* check that the update was done properly (check in the about dialog that no other update is available) verify that  the maintenanceservice log contains the text: "updater.exe was launched and run successfully!" and that the result of the service command MozillaMaintenance completed with the following result: Success.
== Would you like to give it a try? ==
* A set of test cases can be found here ().
== Issues found? ==
If you found any issues or you have any enhancement suggestions that could improve the feature don't hesitate to file a bug.
Go to [https://bugzilla.mozilla.org Bugzilla] to report a bug. If you don't have an account you need to register.
File the bug under the Product:Toolkit and under the Component: Application Data (In Bugzilla go to: New -> select Other Product -> Components:Toolkit ->
If you haven't filled a bug until now you may find some guidelines [https://developer.mozilla.org/en/Bug_writing_guidelines here]
'IMPORTANT'
For every reported bug:
* to the CC list always add netzen@gmail.com - this way the issue you reported will get confirmed and resolved.
* please zip the content of the logs folder. The logs folder are available here:
** C:\ProgramData\Mozilla\logs - on Windows Vista and Windows 7
** C:\Documents and Settings\All Users\Application Data\Mozilla\logs - on Windows 2003 and Windows XP

Revision as of 12:28, 9 January 2012

New to this Feature? Would you like to try it? Get a quick start guide!

Here is a quick start guide to help you understand how the Silent Update works: For more information regarding the process, please take a look at the process description wiki page: https://wiki.mozilla.org/Windows_Service_Silent_Update

Platforms that requires testing

This feature is Windows specific only, so if you are a Windows owner you can choose from the following platforms:

  • Windows 2000
  • Windows 2003 32-bit and d4-bit
  • Windows 2008 32-bit and 64-bit
  • Windows 2008R2 32-bit and 64-bit
  • Windows XP 32-bit and 64-bit
  • Windows Vista 32-bit and 64-bit
  • Windows 7 32-bit and 64-bit

Quick Start Guide - Get Started

1. Download the proper build.

  • currently the feature is available on the Nightly builds that can be downloaded from here
  • the downloaded mozilla central build must be older than January 5th (2012-01-05-08-39-33-mozilla-central/) and doesn't need to be the latest builded (to verify that the service works properly when updating).

2. Install the build in order to get the Mozilla Maintenance Service

  • on an standard installation type the Install Maintenance Service box is checked by default.
  • you need to check the Install Maintenance Service box on a custom install.

'Note': the service is an optional component and if it's not installed or if it is disabled the update will work the old way, by using updater.exe

3. Check that Mozilla Maintenance Service was installed - from a command prompt you can run "sc query MozillaMaintenance" If it is installed you will see the the following output:

SERVICE_NAME: MozillaMaintenance

      TYPE               : 10  WIN32_OWN_PROCESS  
      STATE              : 1  STOPPED 
      WIN32_EXIT_CODE    : 1077  (0x435)
      SERVICE_EXIT_CODE  : 0  (0x0)
      CHECKPOINT         : 0x0
      WAIT_HINT          : 0x0

If it is not installed, you will see the following output:

  [SC] EnumQueryServicesStatus:OpenService FAILED 1060:
  The specified service does not exist as an installed service.
  • check the maintenanceservice-install log (the log contains the message that the service was installed succesfully). The logs are available in the all users application data.
  • the Mozilla Maintenance Service is also listed in the programs list, under the Programs directory, in Control Panel and also in the services list (Right click on My Computer -> Manage -> Services and Applications -> Services).

4. Perform an update using the service:

  • Open the Nightly that you just installed and go to the Help menu -> About:Nightly -> wait for the update to be downloaded and click on the Apply Update button.
  • check that the update was done properly (check in the about dialog that no other update is available) verify that the maintenanceservice log contains the text: "updater.exe was launched and run successfully!" and that the result of the service command MozillaMaintenance completed with the following result: Success.

Would you like to give it a try?

  • A set of test cases can be found here ().

Issues found?

If you found any issues or you have any enhancement suggestions that could improve the feature don't hesitate to file a bug. Go to Bugzilla to report a bug. If you don't have an account you need to register. File the bug under the Product:Toolkit and under the Component: Application Data (In Bugzilla go to: New -> select Other Product -> Components:Toolkit -> If you haven't filled a bug until now you may find some guidelines here

'IMPORTANT' For every reported bug:

  • to the CC list always add netzen@gmail.com - this way the issue you reported will get confirmed and resolved.
  • please zip the content of the logs folder. The logs folder are available here:
** C:\ProgramData\Mozilla\logs - on Windows Vista and Windows 7
** C:\Documents and Settings\All Users\Application Data\Mozilla\logs - on Windows 2003 and Windows XP