From 771d9e54642ecccf5fdc9d65ef4ca11e012dc438 Mon Sep 17 00:00:00 2001 From: Bosmanfrx Date: Sat, 26 Jan 2013 22:17:40 +0100 Subject: [PATCH] Fixed not removing directories upon uninstalling --- buildPy2exe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildPy2exe.py b/buildPy2exe.py index 0b90312..e5f16de 100644 --- a/buildPy2exe.py +++ b/buildPy2exe.py @@ -154,6 +154,8 @@ NSIS_SCRIPT_TEMPLATE = r""" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Syncplay" DeleteRegKey HKLM SOFTWARE\Syncplay Delete $$INSTDIR\uninstall.exe + RMDir $$INSTDIR\resources + RMDir $$INSTDIR\lib RMDir $$INSTDIR SectionEnd """