projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cdd02c
)
Fix windows uninstall does not remove start menu shortcuts YAZ-860
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 16 Sep 2015 12:21:04 +0000
(14:21 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 16 Sep 2015 12:21:04 +0000
(14:21 +0200)
win/yaz.nsi
patch
|
blob
|
history
diff --git
a/win/yaz.nsi
b/win/yaz.nsi
index
a01dcdd
..
eaf68d8
100644
(file)
--- a/
win/yaz.nsi
+++ b/
win/yaz.nsi
@@
-33,6
+33,8
@@
InstallDir "$PROGRAMFILES\YAZ"
!endif
!endif
+RequestExecutionLevel admin
+
SetCompressor bzip2
Name "YAZ"
SetCompressor bzip2
Name "YAZ"
@@
-196,12
+198,11
@@
SectionEnd
UninstallText "This will uninstall YAZ ${VERSION} from your system"
Section Uninstall
UninstallText "This will uninstall YAZ ${VERSION} from your system"
Section Uninstall
-; add delete commands to delete whatever files/registry keys/etc you installed here.
+ ExecWait '"$INSTDIR\bin\yaz-ztest" -remove'
+ RMDir /r $SMPROGRAMS\YAZ
Delete "$INSTDIR\uninst.exe"
DeleteRegKey HKLM "SOFTWARE\Index Data\YAZ"
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\YAZ"
Delete "$INSTDIR\uninst.exe"
DeleteRegKey HKLM "SOFTWARE\Index Data\YAZ"
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\YAZ"
- ExecWait '"$INSTDIR\bin\yaz-ztest" -remove'
- RMDir /r $SMPROGRAMS\YAZ
RMDir /r $INSTDIR
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"
IfFileExists $INSTDIR 0 Removed
RMDir /r $INSTDIR
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"
IfFileExists $INSTDIR 0 Removed