Bug 1525981: Remove ARM64 Image File Execution Options clean-up code from installer. r=mhowell

Differential Revision: https://phabricator.services.mozilla.com/D32438

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Bob Owen 2019-05-24 15:21:06 +00:00
parent b4030f9fc6
commit e8861b1062

View File

@ -58,17 +58,6 @@
${If} "$0" != "${GREVersion}"
WriteRegStr HKLM "Software\mozilla.org\Mozilla" "CurrentVersion" "${GREVersion}"
${EndIf}
; Image File Execution Options were set for a short period on AArch64 (ARM64)
; to disable multi-threaded DLL loading, which breaks with the sandbox.
; A better solution was found, so this code is to clean up any entries left
; lying around. Bug 1525981 tracks removing this.
${If} "${ARCH}" == "AArch64"
StrCpy $0 "Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\${FileMainEXE}"
DeleteRegKey HKLM "$0"
StrCpy $0 "Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\plugin-container.exe"
DeleteRegKey HKLM "$0"
${EndIf}
${EndIf}
; Adds a pinned Task Bar shortcut (see MigrateTaskBarShortcut for details).