mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +02:00
only remove protocol handler if installed
This commit is contained in:
parent
929976e781
commit
9f2fbc37bb
1 changed files with 4 additions and 2 deletions
|
@ -876,8 +876,10 @@ Section "Uninstall"
|
|||
@CPACK_NSIS_DELETE_ICONS@
|
||||
@CPACK_NSIS_DELETE_ICONS_EXTRA@
|
||||
|
||||
;Delete High Fidelity protocol handling
|
||||
DeleteRegKey HKCR '@HIGH_FIDELITY_PROTOCOL@'
|
||||
;Delete High Fidelity protocol handling, if installed
|
||||
${If} "@PRODUCTION_BUILD@" == "1"
|
||||
DeleteRegKey HKCR '@HIGH_FIDELITY_PROTOCOL@'
|
||||
${EndIf}
|
||||
|
||||
;Delete empty start menu parent diretories
|
||||
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
|
||||
|
|
Loading…
Reference in a new issue