[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:
parent
cdfdaa455d
commit
8b447b9d15
|
@ -292,8 +292,8 @@ Function .onInit
|
||||||
|
|
||||||
ClearErrors
|
ClearErrors
|
||||||
EnumRegKey $0 HKLM "SOFTWARE\PostgreSQL\Installations" 0
|
EnumRegKey $0 HKLM "SOFTWARE\PostgreSQL\Installations" 0
|
||||||
StrCmp $0 "" DoInstallPostgreSQL
|
|
||||||
IfErrors DoInstallPostgreSQL 0
|
IfErrors DoInstallPostgreSQL 0
|
||||||
|
StrCmp $0 "" DoInstallPostgreSQL
|
||||||
StrCpy $HasPostgreSQL 1
|
StrCpy $HasPostgreSQL 1
|
||||||
|
|
||||||
DoInstallPostgreSQL:
|
DoInstallPostgreSQL:
|
||||||
|
|
Loading…
Reference in New Issue