Closed Bug 767471 Opened 9 years ago Closed 9 years ago

Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled

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, 1 obsolete file)

We have telemetry data for if the MozillaMaintenance service was installed or not, but it would be good to know if it was manually uninstalled or if it was not installed to begin with. 

61% of users have the service installed on Nightly.  This is probably so low because of x64 builds and possibly because of limited user accounts that don't have the service though.   

This bug is to check that.

To do this we need to create a telemetry histogram for UPDATER_SERVICE_MANUALLY_UNINSTALLED.  It should be a boolean histogram with values 1, 0 which correspond with whether or not the MozillaMaintenance service was manually uninstalled.
Summary: Report telemetry data for if the MozillaMaintenance service is installed → Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled
Attached patch Patch v1. (obsolete) — Splinter Review
Tested locally and it reports the values correctly, will test that it doesn't effect updates in any way on Oak.  Based on the code it shouldn't, but will push anyway to be 101% sure.
Attached patch Patch v1'Splinter Review
Updated patch with comment nit from already landed Bug 766833 (was found at merge time)
Attachment #635822 - Attachment is obsolete: true
Comment on attachment 636160 [details] [diff] [review]
Patch v1'

Review of attachment 636160 [details] [diff] [review]:
-----------------------------------------------------------------

When the service is installed both Attempted and Installed DWORDS are set to 1.  When the service is uninstalled the Attempted DWORD is purposely left behind.  The attempted DWORD is also used to ensure we don't try to re-install the maintenance service on updates by the way.

I tested both the telemetry probe and updates on Oak and it is working correctly.
Attachment #636160 - Flags: review?(robert.bugzilla)
Attachment #636160 - Flags: review?(robert.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/539051fd90c2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.