summaryrefslogtreecommitdiff
path: root/setup.nsi
diff options
context:
space:
mode:
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..0ea37b0f9e6 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\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'