зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1343938 - Fix new installs erroneously not prompting to change the default browser setting. r=agashlin
MozReview-Commit-ID: EYPeEOE8Ldr --HG-- extra : rebase_source : 4d8ab430700b20ad5b4934ec03c617143cf3f6e1
This commit is contained in:
Родитель
6a1853b03f
Коммит
0fcdf6f8cb
|
@ -556,6 +556,7 @@ Section "-InstallEndCleanup"
|
|||
SetDetailsPrint none
|
||||
|
||||
${Unless} ${Silent}
|
||||
ClearErrors
|
||||
${MUI_INSTALLOPTIONS_READ} $0 "summary.ini" "Field 4" "State"
|
||||
${If} "$0" == "1"
|
||||
; NB: this code is duplicated in stub.nsi. Please keep in sync.
|
||||
|
@ -592,7 +593,7 @@ Section "-InstallEndCleanup"
|
|||
GetFunctionAddress $0 SetAsDefaultAppUserHKCU
|
||||
UAC::ExecCodeSegment $0
|
||||
${EndIf}
|
||||
${Else}
|
||||
${ElseIfNot} ${Errors}
|
||||
${LogHeader} "Writing default-browser opt-out"
|
||||
ClearErrors
|
||||
WriteRegStr HKCU "Software\Mozilla\Firefox" "DefaultBrowserOptOut" "True"
|
||||
|
|
Загрузка…
Ссылка в новой задаче