mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-21 11:11:20 +00:00
nsis: Only uninstall protocol handler for this installation
This commit is contained in:
parent
a119e67fb8
commit
2bca424fce
1 changed files with 7 additions and 1 deletions
|
@ -22,6 +22,8 @@
|
|||
!include "MUI2.nsh"
|
||||
!define MUI_ICON "../quake3.ico"
|
||||
|
||||
!include LogicLib.nsh
|
||||
|
||||
; The name of the installer
|
||||
Name "ioquake3"
|
||||
|
||||
|
@ -172,7 +174,11 @@ Section "Uninstall"
|
|||
; Remove registry keys
|
||||
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3"
|
||||
DeleteRegKey SHCTX "Software\ioquake3"
|
||||
DeleteRegKey SHCTX "Software\Classes\quake3"
|
||||
|
||||
ReadRegStr $0 SHCTX "Software\Classes\quake3\shell\open\command" ""
|
||||
${If} $0 == '"$INSTDIR\ioquake3.x86.exe" --uri "%1"'
|
||||
DeleteRegKey SHCTX "Software\Classes\quake3"
|
||||
${EndIf}
|
||||
|
||||
; Remove files and uninstaller
|
||||
Delete $INSTDIR\baseq3\cgamex86.dll
|
||||
|
|
Loading…
Reference in a new issue