Verified Commit dfac6c0a authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

Bug 41201: Require Windows 10 or later in the installer.

Firefox 128 is not compatible with Windows 7, 8, and 8.1 anymore, so we
should notify the users before they start installing it.
parent e5560888
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ languages = {
replacements = {
    "min_windows_version": {
        "program": "${PROJECT_NAME}",
        "version": "7",
        "version": "10",
    },
    "welcome_title": ("${DISPLAY_NAME}",),
    "mb_intro": ("${PROJECT_NAME}",),
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
;--------------------------------
; Helper functions
Function CheckRequirements
  ${IfNot} ${AtLeastWin7}
  ${IfNot} ${AtLeastWin10}
    MessageBox MB_USERICON|MB_OK "$(min_windows_version)"
    SetErrorLevel 1
    Quit
+2 −1
Original line number Diff line number Diff line
@@ -6,7 +6,8 @@
  LangString add_shortcuts ${LANG_ENGLISH} "&Add Start menu and desktop icons"
  ; Use %(program)s instead of ${PROJECT_NAME}  and %(version)s instead of 7
  ; when sending the string from localization.
  LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 7 or later."
  ; Remember to update also add-strings.py when bumping the Windows version.
  LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 10 or later."
  LangString destination_exists ${LANG_ENGLISH} "The destination folder already exists. Do you want to continue anyway?"

  ; Mullvad Browser strings