From 8b447b9d15bc67704b4589d982877d4a720ce7aa Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Wed, 6 Mar 2013 15:34:44 +0100 Subject: [PATCH] [FIX] setup.nsi: better IfErrors/StrCmp order after testing the postgres registry keys. bzr revid: vmt@openerp.com-20130306143444-8qgpa6yj0c00ua0v --- setup.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: