Update prompting with UAC dialog even though maintenance service is enabled
Categories
(Toolkit :: Application Update, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: MarcoZ, Unassigned)
Details
(Keywords: regression)
As asked for in Bug 1570396 comment 58, here's the log that I get, filtered by AUS:SVC
Protokoll
AUS:SVC UpdateManager:_writeUpdatesToXMLFile - no updates to write. removing file: C:\ProgramData\Mozilla\updates\6F193CCC56814779\active-update.xml
Protokoll
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla\updates\6F193CCC56814779\update.test
Protokoll
AUS:SVC isServiceInstalled - returning true
Protokoll
AUS:SVC shouldUseService - returning true
Protokoll
AUS:SVC getCanApplyUpdates - bypass the write checks because the Windows Maintenance Service can be used
Protokoll
AUS:SVC isServiceInstalled - returning true
Protokoll
AUS:SVC shouldUseService - returning true
Protokoll
AUS:SVC getCanStageUpdates - able to stage updates using the service
Protokoll
AUS:SVC getCanUseBits - BITS can be used to download updates
Protokoll
AUS:SVC isServiceInstalled - returning true
Protokoll
AUS:SVC Checker:getUpdateURL - update URL: https://aus5.mozilla.org/update/6/Firefox/70.0a1/20190826190904/WINNT_x86_64-msvc-x64/de/nightly/Windows_NT%2010.0.0.0.18362.10015%20(x64)/ISET:SSE4_2,MEM:8117/default/default/update.xml
Protokoll
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
Protokoll
AUS:SVC Checker: checkForUpdates, force: false
Protokoll
AUS:SVC Creating UpdateService
Protokoll
AUS:SVC Logging current UpdateService status:
Protokoll
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
Protokoll
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla\updates\6F193CCC56814779\update.test
Protokoll
AUS:SVC isServiceInstalled - returning true
Protokoll
AUS:SVC shouldUseService - returning true
Protokoll
AUS:SVC getCanApplyUpdates - bypass the write checks because the Windows Maintenance Service can be used
Protokoll
AUS:SVC isServiceInstalled - returning true
Protokoll
AUS:SVC shouldUseService - returning true
Protokoll
AUS:SVC getCanStageUpdates - able to stage updates using the service
Protokoll
AUS:SVC Elevation required: false
Protokoll
AUS:SVC Update being handled by other instance: false
Protokoll
AUS:SVC Downloading: false
Protokoll
AUS:SVC End of UpdateService status
Protokoll
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
Protokoll
AUS:SVC Checker:getUpdateURL - update URL: https://aus5.mozilla.org/update/6/Firefox/70.0a1/20190826190904/WINNT_x86_64-msvc-x64/de/nightly/Windows_NT%2010.0.0.0.18362.10015%20(x64)/ISET:SSE4_2,MEM:8117/default/default/update.xml
Protokoll
AUS:SVC Checker:checkForUpdates - sending request to: https://aus5.mozilla.org/update/6/Firefox/70.0a1/20190826190904/WINNT_x86_64-msvc-x64/de/nightly/Windows_NT%2010.0.0.0.18362.10015%20(x64)/ISET:SSE4_2,MEM:8117/default/default/update.xml
Protokoll
AUS:SVC Checker:onLoad - request completed downloading document
Protokoll
AUS:SVC Checker:onLoad - Getting sslStatus failed.
Protokoll
AUS:SVC Checker:onLoad - number of updates available: 0
Comment 1•6 years ago
|
||
Oops! I see that I made a bit of a mistake and didn't realize it until now. I asked you to file this, and then somehow ended up at Bug 1571360, thinking that it was the one that you filed, when in fact someone else filed it. I'm suspicious that this bug may be a duplicate of that one, but unfortunately, I cannot tell from the log you have given.
You did all of the steps right but one. I need you to copy the log between the time that the update is downloaded and the time that it is installed (i.e. when the green arrow appears asking you to restart to install the update). This log ends with
AUS:SVC Checker:onLoad - number of updates available: 0
I'm afraid that all this log can tell me is that there were no updates available when you made the log. I need a log of what happens when we prepare the update for installation, since that will tell us if it was prepared for an update installation with or without the maintenance service (which prevents the UAC prompt from being needed).
Could you get such a log for me?
Additionally, it may be helpful to have the output of the commands that I asked for in Bug 1571360, which I will copy here:
Could you run these three commands in Powershell and paste/attach the output to this bug?
Get-ItemProperty "HKLM:\SOFTWARE\Mozilla\MaintenanceService"The next two Powershell command should target the Nightly installation directory and the directory that it is in. If your install is in a different place, please use those directory names instead.
icacls 'C:\Program Files\Firefox Nightly'
icacls 'C:\Program Files'Could you also run these two commands in the Nightly browser console and paste/attach the output?
AppConstants.MOZ_MAINTENANCE_SERVICE
Services.prefs.getBoolPref("app.update.service.enabled", false)Thanks!
Comment 2•6 years ago
|
||
My apologies, it seems that I forgot a step. In order to enter commands in the browser console, you have to enable Chrome Debugging. This is how:
- Open the Web Console: Hamburger Menu -> Web Developer -> Web Console
- Click the button with three dots, next to the X button that closes the Web Console
- Click Settings
- Under "Advanced Settings", check the box labeled "Enable browser chrome and add-on debugging toolboxes". For me, this is on the far right, third checkbox from the bottom.
Then you should be able to enter the commands into the Browser Console:
AppConstants.MOZ_MAINTENANCE_SERVICE
Services.prefs.getBoolPref("app.update.service.enabled", false)
| Reporter | ||
Comment 3•6 years ago
|
||
Since two or three nightly builds ago, the UAC prompt went away, so whatever you fixed in that other bug resolved my issue, too.
Updated•6 years ago
|
Updated•6 years ago
|
Description
•