summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-07-17 14:59:29 +0200
committerRuben Pollan <meskio@sindominio.net>2018-07-17 14:59:29 +0200
commit4d1be548c357b1c1e78a4ae1c844b5ffaa5025c9 (patch)
tree6a11c901e69d22f038f7bb078056167f8136596f
parent6dfd25989e3e0f326d7979c219bf545524755552 (diff)
[pkg] remove the uninstaller from the registry
And the menu entry. - Resolves: #15
-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