diff --git a/setup.nsi b/setup.nsi index 3f93a5ba755..653a8798bb2 100644 --- a/setup.nsi +++ b/setup.nsi @@ -292,8 +292,8 @@ Function .onInit ClearErrors EnumRegKey $0 HKLM "SOFTWARE\PostgreSQL\Installations" 0 - StrCmp $0 "" DoInstallPostgreSQL IfErrors DoInstallPostgreSQL 0 + StrCmp $0 "" DoInstallPostgreSQL StrCpy $HasPostgreSQL 1 DoInstallPostgreSQL: