зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1836874 - Prevent installers from installing Firefox 116+ on Windows 7/8/8.1. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D180029
This commit is contained in:
Родитель
b73dfbffc4
Коммит
8fb87b4a89
|
@ -98,10 +98,10 @@
|
|||
!define MinSupportedVer "Microsoft Windows 10 for ARM"
|
||||
#else
|
||||
!define ARCH "x64"
|
||||
!define MinSupportedVer "Microsoft Windows 7 x64"
|
||||
!define MinSupportedVer "Microsoft Windows 10 x64"
|
||||
#endif
|
||||
#else
|
||||
!define MinSupportedVer "Microsoft Windows 7"
|
||||
!define MinSupportedVer "Microsoft Windows 10"
|
||||
!define ARCH "x86"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1840,8 +1840,8 @@ Function .onInit
|
|||
; SSE2 instruction set is available. Result returned in $R7.
|
||||
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"
|
||||
|
||||
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
|
||||
${Unless} ${AtLeastWin7}
|
||||
; Windows 8.1/Server 2012 R2 and lower are not supported.
|
||||
${Unless} ${AtLeastWin10}
|
||||
${If} "$R7" == "0"
|
||||
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
|
||||
${Else}
|
||||
|
@ -1862,7 +1862,6 @@ Function .onInit
|
|||
!ifdef HAVE_64BIT_BUILD
|
||||
${If} "${ARCH}" == "AArch64"
|
||||
${IfNot} ${IsNativeARM64}
|
||||
${OrIfNot} ${AtLeastWin10}
|
||||
MessageBox MB_OKCANCEL|MB_ICONSTOP "$(WARN_MIN_SUPPORTED_OSVER_MSG)" IDCANCEL +2
|
||||
ExecShell "open" "${URLSystemRequirements}"
|
||||
Quit
|
||||
|
|
|
@ -295,8 +295,8 @@ Function .onInit
|
|||
; SSE2 instruction set is available.
|
||||
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"
|
||||
|
||||
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
|
||||
${Unless} ${AtLeastWin7}
|
||||
; Windows 8.1/Server 2012 R2 and lower are not supported.
|
||||
${Unless} ${AtLeastWin10}
|
||||
${If} "$R7" == "0"
|
||||
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
|
||||
${Else}
|
||||
|
|
|
@ -5379,8 +5379,8 @@
|
|||
Quit
|
||||
${EndIf}
|
||||
|
||||
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
|
||||
${Unless} ${AtLeastWin7}
|
||||
; Windows 8.1/Server 2012 R2 and lower are not supported.
|
||||
${Unless} ${AtLeastWin10}
|
||||
MessageBox MB_OK|MB_ICONSTOP "$R9"
|
||||
; Nothing initialized so no need to call OnEndCommon
|
||||
Quit
|
||||
|
|
Загрузка…
Ссылка в новой задаче