From 4d1be548c357b1c1e78a4ae1c844b5ffaa5025c9 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 17 Jul 2018 14:59:29 +0200 Subject: [pkg] remove the uninstaller from the registry And the menu entry. - Resolves: #15 --- win/template.nsi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win') 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 -- cgit v1.2.3