mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:03:27 +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@
|
||||||
@CPACK_NSIS_DELETE_ICONS_EXTRA@
|
@CPACK_NSIS_DELETE_ICONS_EXTRA@
|
||||||
|
|
||||||
;Delete High Fidelity protocol handling
|
;Delete High Fidelity protocol handling, if installed
|
||||||
|
${If} "@PRODUCTION_BUILD@" == "1"
|
||||||
DeleteRegKey HKCR '@HIGH_FIDELITY_PROTOCOL@'
|
DeleteRegKey HKCR '@HIGH_FIDELITY_PROTOCOL@'
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
;Delete empty start menu parent diretories
|
;Delete empty start menu parent diretories
|
||||||
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
|
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
|
||||||
|
|
Loading…
Reference in a new issue