
#BUGZILLA EXE UPDATE#
This means that if a user has Nightly installed, the Nightly service will be used to update all channels.Īs of Firefox 35, the service is also installed and used with 圆4 native builds. If a service is already installed, the service will be replaced on updates and installs only if it is newer than what is installed. Other Mozilla products use the same service as well. Only one service exists per computer across all channels. The service was first built for Firefox, but has since been ported to Thunderbird. An alternate implementation could have been to have the UI display by running updater.exe with a user token from the service instead, but to avoid permission problems on files, and inconsistencies in different OS versions and user types, the update is always run as session 0 with the SYSTEM account. Since the service executes an update via updater.exe in session 0, no UI is displayed. The logs live in %programdata%\Mozilla\logs.
#BUGZILLA EXE INSTALL#
The install process and update processes are logged separately.

The service logs all operations of the last update, as well as taking a backup of the last 10 update operation logsīefore it. This is possible via the Win32 API SetServiceObjectSecurity. Setting these permissions on the service is needed because by default services can only be started and stopped by elevated processes. The service security is modified with a special ACE which allows non elevated processes to start and stop it. Since the service is only started when needed, we pass the information to the service via command line on service start. The specified service does not exist as an installed service. EnumQueryServicesStatus:OpenService FAILED 1060: If it is not installed, you will see output of: If it is installed you will see output of: To test and see if the service is installed, from a command prompt you can run: The service implementation is located under /toolkit/components/maintenanceservice.The service deals with user tokens and therefore runs as the SYSTEM account.Installation directory: %PROGRAMFILES%\Mozilla Maintenance Service The feature page is located at: this feature page. The bugzilla task related to creating a service and not prompting the user for UAC is in bug 481815. If there are any problems updating through the service, it will fall back to updating the old way via the UAC prompt.


When the service is needed, it will be started again for the period of the update. The service is run "on demand" and will remain stopped until it is needed. Now that this feature is implemented, Firefox uses a service to execute updates so that UAC prompts are not displayed. 12 Verifying the updater is our own binaryīefore this feature, when a user installs into the default Program Files directory, updates cannot be applied without us first prompting the user for elevated permissions with a User Account Control (UAC) dialog.7 Applying an application update from the service's perspective.6 Applying an application update from Firefox's perspective.4 A single service and service versioning.
#BUGZILLA EXE WINDOWS#
