summaryrefslogtreecommitdiff
path: root/setup.nsi
diff options
context:
space:
mode:
authorgpa <gpa@tinyerp.com>2011-08-11 18:51:48 +0530
committergpa <gpa@tinyerp.com>2011-08-11 18:51:48 +0530
commitaeec03e7ebc622a7f10adc7d2d73bd9405e46691 (patch)
tree00aa9cb880996bfe9254c07854d72892d1e325cf /setup.nsi
parent72260467071aa9e0340fa3d2d961ecb2e90a8d0d (diff)
[FIX]Added missing pg_path, to solve the problem of backup and restore of database
lp bug: https://launchpad.net/bugs/723424 fixed bzr revid: gpa@tinyerp.com-20110811132148-xhje7bwwhzzty4vp
Diffstat (limited to 'setup.nsi')
-rw-r--r--setup.nsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.nsi b/setup.nsi
index f9c962ae383..79e7903f6a3 100644
--- a/setup.nsi
+++ b/setup.nsi
@@ -210,6 +210,7 @@ Section OpenERP_Server SectionOpenERP_Server
WriteIniStr "$INSTDIR\openerp-server.conf" "options" "db_user" $TextPostgreSQLUsername
WriteIniStr "$INSTDIR\openerp-server.conf" "options" "db_password" $TextPostgreSQLPassword
WriteIniStr "$INSTDIR\openerp-server.conf" "options" "db_port" $TextPostgreSQLPort
+ WriteIniStr "$INSTDIR\Server\openerp-server.conf" "options" "pg_path" "$INSTDIR\PostgreSQL\bin"
nsExec::Exec '"$INSTDIR\openerp-server.exe" --stop-after-init --logfile "$INSTDIR\openerp-server.log" -s'
nsExec::Exec '"$INSTDIR\service\OpenERPServerService.exe" -auto -install'