summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwin/template.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/template.nsi b/win/template.nsi
index af4e036..567e584 100755
--- a/win/template.nsi
+++ b/win/template.nsi
@@ -98,9 +98,12 @@ Section "Uninstall"
Delete $INSTDIR\readme.txt
Delete $INSTDIR\nssm.exe
Delete $INSTDIR\helper.log
+ Delete "$SMPROGRAMS\$app_name\$app_name.lnk"
+ RMDir "$SMPROGRAMS\$app_name\"
$extra_uninstall_files
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower"
; uninstaller must be always the last thing to remove
Delete $INSTDIR\uninstall.exe
RMDir $INSTDIR