mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Correct the condition to compare version for Windows installer. Regression of last commit.
This commit is contained in:
committed by
Akshay Joshi
parent
b76e0bea83
commit
15556f9f89
@@ -179,7 +179,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
UpgradeMode := True;
|
UpgradeMode := True;
|
||||||
RegQueryStringValue(HKEY_LOCAL_MACHINE,'Software\{#MyAppName}\{#MyAppVersion}', 'Version', Version);
|
RegQueryStringValue(HKEY_LOCAL_MACHINE,'Software\{#MyAppName}\{#MyAppVersion}', 'Version', Version);
|
||||||
if CompareVersions(Version, '{#MyAppFullVersion}') = -1 then
|
if CompareVersions(Version, '{#MyAppFullVersion}') = 1 then
|
||||||
begin
|
begin
|
||||||
MsgBox(ExpandConstant('{cm:NewerVersionExists}' + '(v' + Version + ') is already installed' ), mbInformation, MB_OK);
|
MsgBox(ExpandConstant('{cm:NewerVersionExists}' + '(v' + Version + ') is already installed' ), mbInformation, MB_OK);
|
||||||
Result := False;
|
Result := False;
|
||||||
|
|||||||
Reference in New Issue
Block a user