Browse Source

Windows: Uninstall start menu entries

pull/744/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
a255d13b54
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 1
      tools/update-server/version
  2. 17
      windows/qtox.nsi

1
tools/update-server/version

@ -1 +0,0 @@ @@ -1 +0,0 @@
2

17
windows/qtox.nsi

@ -338,17 +338,20 @@ Section Uninstall @@ -338,17 +338,20 @@ Section Uninstall
Delete "$INSTDIR\${UninstLog}"
noLog:
Delete /REBOOTOK "$INSTDIR\uninstall.exe"
RMDir /r /REBOOTOK $INSTDIR\bin"
RMDir /r /REBOOTOK "$INSTDIR\bin"
RMDir /REBOOTOK "$INSTDIR"
Pop $R2
Pop $R1
Pop $R0
;Remove start menu entries
RMDir /r /REBOOTOK "$SMPROGRAMS\qTox"
;Remove registry keys
DeleteRegKey ${REG_ROOT} "${REG_APP_PATH}"
DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}"
DeleteRegKey HKCR "Applications\qtox.exe"
DeleteRegKey HKCR ".tox"
DeleteRegKey HKCR "tox"
DeleteRegKey HKCR "toxsave"
DeleteRegKey ${REG_ROOT} "${REG_APP_PATH}"
DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}"
DeleteRegKey HKCR "Applications\qtox.exe"
DeleteRegKey HKCR ".tox"
DeleteRegKey HKCR "tox"
DeleteRegKey HKCR "toxsave"
SectionEnd

Loading…
Cancel
Save