Closed Bug 763016 Opened 12 years ago Closed 12 years ago

Report telemetry data for if the MozillaMaintenance service is installed

Categories

(Toolkit :: Application Update, defect)

12 Branch
x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

Attachments

(1 file, 2 obsolete files)

We need to create a telemetry histogram for UPDATE_SERVICE_INSTALLED.  It should be a boolean histogram with values 0, 1 which correspond with whether or not the MozillaMaintenance service exists on the machine.
Target Milestone: --- → mozilla16
This telemetry ping should only be sent from Windows machines.
Attached patch Patch v1 - Not yet tested (obsolete) — Splinter Review
Attached patch Patch v2 -Tested (obsolete) — Splinter Review
Attachment #631603 - Attachment is obsolete: true
Attachment #631708 - Flags: review?(robert.bugzilla)
After I wrote this patch I realized we have a registry entry for Installed with a DWORD value of 1 or 0.  But this patch may be more deterministic. But I'm open to changing it if you prefer to the reg way.
Attached patch Patch v3Splinter Review
After thinking about it more, our other checks use the Installed reg value already so we might as well stay consistent.  Doing  a reg check is cleaner than using ctypes anyway.

The code is probably fine either way but in theory the SCM can be locked and it might take longer to check via the SCM.

Also this value will always be in sync with whether or not the service is actually installed unless a user goes and modifies it themselves.
Attachment #633125 - Flags: review?(robert.bugzilla)
Attachment #631708 - Attachment is obsolete: true
Attachment #631708 - Flags: review?(robert.bugzilla)
Attachment #633125 - Flags: review?(robert.bugzilla) → review+
http://hg.mozilla.org/mozilla-central/rev/1e497edb48c1
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 767471
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: