[FIX]Added missing pg_path, to solve the problem of backup and restore of database
authorgpa <gpa@tinyerp.com>
Thu, 11 Aug 2011 13:21:48 +0000 (18:51 +0530)
committergpa <gpa@tinyerp.com>
Thu, 11 Aug 2011 13:21:48 +0000 (18:51 +0530)
lp bug: https://launchpad.net/bugs/723424 fixed

bzr revid: gpa@tinyerp.com-20110811132148-xhje7bwwhzzty4vp

setup.nsi

index f9c962a..79e7903 100644 (file)
--- a/setup.nsi
+++ b/setup.nsi
@@ -210,6 +210,7 @@ Section OpenERP_Server SectionOpenERP_Server
     WriteIniStr "$INSTDIR\openerp-server.conf" "options" "db_user" $TextPostgreSQLUsername\r
     WriteIniStr "$INSTDIR\openerp-server.conf" "options" "db_password" $TextPostgreSQLPassword\r
     WriteIniStr "$INSTDIR\openerp-server.conf" "options" "db_port" $TextPostgreSQLPort\r
+    WriteIniStr "$INSTDIR\Server\openerp-server.conf" "options" "pg_path" "$INSTDIR\PostgreSQL\bin"\r
 \r
     nsExec::Exec '"$INSTDIR\openerp-server.exe" --stop-after-init --logfile "$INSTDIR\openerp-server.log" -s'\r
     nsExec::Exec '"$INSTDIR\service\OpenERPServerService.exe" -auto -install'\r