From c65f60771a287fa2e9fd2491dc52733e5e6047f9 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Fri, 21 Jan 2022 12:59:01 +0000 Subject: [PATCH] Enforce the minimum Windows version that the installer will run on. Fixes #7135 --- docs/en_US/release_notes_6_5.rst | 1 + pkg/win32/installer.iss.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/en_US/release_notes_6_5.rst b/docs/en_US/release_notes_6_5.rst index 37c370788..35d611088 100644 --- a/docs/en_US/release_notes_6_5.rst +++ b/docs/en_US/release_notes_6_5.rst @@ -22,3 +22,4 @@ Bug fixes | `Issue #7035 `_ - Fixed an issue where connections keep open to (closed) connections on the initial connection to the database server. | `Issue #7085 `_ - Ensure that Partitioned tables should be visible correctly when creating multiple partition levels. | `Issue #7100 `_ - Fixed an issue where the Browser tree gets disappears when scrolling sequences. +| `Issue #7135 `_ - Enforce the minimum Windows version that the installer will run on. diff --git a/pkg/win32/installer.iss.in b/pkg/win32/installer.iss.in index ff9ea5ff7..251d5c03c 100644 --- a/pkg/win32/installer.iss.in +++ b/pkg/win32/installer.iss.in @@ -10,6 +10,7 @@ #define MyAppInvalidPath "Please provide a valid path." #define MyAppErrorMsgIsWin32 "You already have a 32 bit installation of pgAdmin 4. Please uninstall this before installing the 64 bit version." #define MyAppErrorMsgIsWin64 "You already have a 64 bit installation of pgAdmin 4. Please uninstall this before installing the 32 bit version." +#define MinimumWindowsVer 6.2.9200 [Setup] AppId={#MyAppName}{#MyAppVersion} @@ -35,6 +36,7 @@ UninstallDisplayIcon={app}\runtime\{#MyAppExeName} ArchitecturesInstallIn64BitMode={#MyAppArchitecturesMode} AllowNoIcons=yes WizardImageFile=sidebar.bmp +MinVersion={#MinimumWindowsVer} [Languages] Name: "english"; MessagesFile: "compiler:Default.isl"