From 1ca2db0a61c5d4e1b4e816df11a661ffdf0ab403 Mon Sep 17 00:00:00 2001
From: Christophe Monniez <moc@odoo.com>
Date: Fri, 6 Oct 2017 13:48:22 +0200
Subject: [PATCH] [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.
---
 setup/win32/setup.nsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/setup/win32/setup.nsi b/setup/win32/setup.nsi
index 004ea5f398e4..10dbc9e52d84 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
 
-- 
GitLab