[FIX] setup.nsi: better IfErrors/StrCmp order after testing the postgres registry keys.

bzr revid: vmt@openerp.com-20130306143444-8qgpa6yj0c00ua0v
This commit is contained in:
Vo Minh Thu 2013-03-06 15:34:44 +01:00
parent cdfdaa455d
commit 8b447b9d15
1 changed files with 1 additions and 1 deletions

View File

@ -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: