Make `--backgroundtask backgroundupdate` work with unelevated installations [SERVICE_REGISTRY_KEY_MISSING]
Categories
(Toolkit :: Application Update, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: mpohle, Assigned: mpohle)
References
Details
Attachments
(3 files, 1 obsolete file)
The initial background update landing does not schedule the background update task when a permission elevation is denied during the setup and aborts with a SERVICE_REGISTRY_KEY_MISSING error.
With this bug we are going to land a change to allow background update for these users, which is going to require unprecedented tests to ensure that this works and keeps working reliably.
| Assignee | ||
Updated•2 years ago
|
Comment 1•2 years ago
•
|
||
I don't understand how this is meant to work. Are we going to use the Service even though the registry key is missing? Are we going to show a UAC prompt from a background task?
| Assignee | ||
Comment 2•2 years ago
|
||
The idea is, that we can already upgrade some and perhaps most installations without the need for a UAC prompt, e.g. because these were installed under %LOCALAPPDATA%\Mozilla Firefox. The implementation will somehow check if we can write to the target location and if that is the case, it is going to behave as if you had set app.update.background.force.
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
This feature allows to schedule and install background updates even
when the Mozilla Maintenance Service is not configured for an
installation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Backed out changeset 2aed50c0b2e6 (Bug 1832834) for causing xpcsheel failures CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=422718680&repo=autoland&lineNumber=2262
https://treeherder.mozilla.org/logviewer?job_id=422718680&repo=autoland&lineNumber=2262
https://treeherder.mozilla.org/logviewer?job_id=422717884&repo=autoland&lineNumber=2281
Backout: https://hg.mozilla.org/integration/autoland/rev/2fa0f2941257f51a55bcabee0f1913fe395266b0
Comment 9•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 10•2 years ago
|
||
| Assignee | ||
Comment 11•2 years ago
|
||
changed:
allowUpdatesForUnelevatedInstallions
allowUpdatesForUnelevatedInstallations
local tests passed, manual test passed, treeherder run here
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•