summaryrefslogtreecommitdiffstats
path: root/browser/installer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:17:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:17:15 +0000
commitac8d05af898765571f7f7db4b8bfc8b73907652d (patch)
tree0a1a0e03b3c49df9b7713587b9d423dc5d8a2709 /browser/installer
parentReleasing progress-linux version 127.0.1-1~progress7.99u1. (diff)
downloadfirefox-ac8d05af898765571f7f7db4b8bfc8b73907652d.tar.xz
firefox-ac8d05af898765571f7f7db4b8bfc8b73907652d.zip
Merging upstream version 127.0.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/installer')
-rwxr-xr-xbrowser/installer/windows/nsis/shared.nsh7
1 files changed, 3 insertions, 4 deletions
diff --git a/browser/installer/windows/nsis/shared.nsh b/browser/installer/windows/nsis/shared.nsh
index f9f50a5afa..f9cd1feac1 100755
--- a/browser/installer/windows/nsis/shared.nsh
+++ b/browser/installer/windows/nsis/shared.nsh
@@ -175,6 +175,9 @@
; updated, but only if we're not the instance of PostUpdate that was started
; by the service, because this needs to run as the actual user. Also, don't do
; that if the installer was told not to register the agent task at all.
+; XXXbytesized - This also needs to un-register any scheduled tasks for the WDBA
+; that were registered using elevation, but currently it does
+; not. See Bugs 1638509 and 1902719.
!ifdef MOZ_DEFAULT_BROWSER_AGENT
${If} $TmpVal == "HKCU"
ClearErrors
@@ -184,10 +187,6 @@ ${If} $TmpVal == "HKCU"
${OrIf} ${Errors}
ExecWait '"$INSTDIR\default-browser-agent.exe" register-task $AppUserModelID'
${EndIf}
-${ElseIf} $TmpVal == "HKLM"
- ; If we're the privileged PostUpdate, make sure that the unprivileged one
- ; will have permission to create a task by clearing out the old one first.
- ExecWait '"$INSTDIR\default-browser-agent.exe" unregister-task $AppUserModelID'
${EndIf}
!endif