diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-12-02 16:18:08 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-12-02 16:18:08 +0100 |
| commit | 1d3f8eba879f02da7fc0bb46c9801029eccbc8c8 (patch) | |
| tree | 10ef917de1be8ef9755cba4f3c9ac951af176b18 /setup/win32/setup.nsi | |
| parent | 7878b2fd0cb42827b71bd00a1fd8199e73269fe4 (diff) | |
| parent | 591e329bb0efe4997677a0bee2e6f3b558e35df8 (diff) | |
[MERGE] forward port of branch 8.0 up to 591e329
Diffstat (limited to 'setup/win32/setup.nsi')
| -rwxr-xr-x | setup/win32/setup.nsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/setup/win32/setup.nsi b/setup/win32/setup.nsi index c7841e99c76..62f3ce8cf9b 100755 --- a/setup/win32/setup.nsi +++ b/setup/win32/setup.nsi @@ -238,6 +238,10 @@ Section $(TITLE_OpenERP_Server) SectionOpenERP_Server File "start.bat"
File "stop.bat"
+ SetOutPath "$INSTDIR\thirdparty"
+ File /r "${STATIC_PATH}\wkhtmltopdf\*"
+ File /r "${STATIC_PATH}\less\*"
+
# If there is a previous install of the OpenERP Server, keep the login/password from the config file
WriteIniStr "$INSTDIR\server\openerp-server.conf" "options" "db_host" $TextPostgreSQLHostname
WriteIniStr "$INSTDIR\server\openerp-server.conf" "options" "db_user" $TextPostgreSQLUsername
@@ -245,6 +249,7 @@ Section $(TITLE_OpenERP_Server) SectionOpenERP_Server WriteIniStr "$INSTDIR\server\openerp-server.conf" "options" "db_port" $TextPostgreSQLPort
# Fix the addons path
WriteIniStr "$INSTDIR\server\openerp-server.conf" "options" "addons_path" "$INSTDIR\server\openerp\addons"
+ WriteIniStr "$INSTDIR\server\openerp-server.conf" "options" "bin_path" "$INSTDIR\thirdparty"
# if we're going to install postgresql force it's path,
# otherwise we consider it's always done and/or correctly tune by users
@@ -324,7 +329,7 @@ Section "Uninstall" Rmdir /r "$INSTDIR\server"
Rmdir /r "$INSTDIR\service"
-
+ Rmdir /r "$INSTDIR\thirdparty"
DeleteRegKey HKLM "${UNINSTALL_REGISTRY_KEY}"
SectionEnd
|
