Closed Bug 1515450 Opened 5 years ago Closed 4 years ago

Update agent - Service for BITS interfacing

Categories

(Toolkit :: Application Update, enhancement, P3)

Desktop
Windows
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: agashlin, Assigned: agashlin)

References

(Blocks 2 open bugs)

Details

The first step towards the update agent is a Windows Task Scheduler task that will start and access BITS jobs on behalf of Firefox, running as Local Service.

(This same executable, run from a different scheduled task, will be used for the scheduled background updates.)
Priority: -- → P2
Assignee: agashlin → nobody
Status: ASSIGNED → NEW
Priority: P2 → P3

This will be a Windows service, running as Local Service, providing COM access to BITS jobs that are owned by Local Service. This will primarily be used by Firefox.

The service will also provide a secondary notification mechanism. The update agent needs to be notified when a download had completed or encountered an error, but BITS jobs owned by services cannot be notified by running a command line (IBackgroundCopyJob2::SetNotifyCmdLine), and running a COM server on notify (BITS_JOB_PROPERTY_NOTIFICATION_CLSID) isn't available until Windows 8. This service will register to receive notifications via a IBackgroundCopyCallback interface, and will in turn start the update agent to handle the notification event, if there isn't already an IBackgroundCopyCallback client attached to the service.

The other aspect of this implementation will be filtering. We will only support access and creation of jobs named MozillaUpdate [AppUserModelID], and jobs will only be allowed with local paths under the installation's update directory.

Assignee: nobody → agashlin
Status: NEW → ASSIGNED
Priority: P3 → P1
Summary: Update agent - Task scheduler task for BITS interfacing → Update agent - Service for BITS interfacing
Priority: P1 → P3

Local service BITS jobs are no longer planned, so this service is unnecessary.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.