summaryrefslogtreecommitdiff
path: root/setup/win32
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2017-10-06 13:48:22 +0200
committerChristophe Monniez <moc@odoo.com>2017-10-09 08:59:20 +0200
commit1ca2db0a61c5d4e1b4e816df11a661ffdf0ab403 (patch)
treebabf0c181ea4f3ff67aa6c76a9a10bae5f32bdbd /setup/win32
parente63813864a5922115a61052b4fa469921c706e64 (diff)
[FIX] setup win32: remove python and nssm on uninstall
Purpose: When uninstalling using the windows uninstaller, python and nssm were left beyond. This fix removes the python and nssm dirs also.
Diffstat (limited to 'setup/win32')
-rwxr-xr-xsetup/win32/setup.nsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup/win32/setup.nsi b/setup/win32/setup.nsi
index 004ea5f398e..10dbc9e52d8 100755
--- a/setup/win32/setup.nsi
+++ b/setup/win32/setup.nsi
@@ -312,6 +312,8 @@ Section "Uninstall"
Rmdir /r "$INSTDIR\server"
Rmdir /r "$INSTDIR\thirdparty"
+ Rmdir /r "$INSTDIR\python"
+ Rmdir /r "$INSTDIR\nssm"
DeleteRegKey HKLM "${UNINSTALL_REGISTRY_KEY}"
SectionEnd