mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 23:03:12 +02:00
remove the correct startup shortcut during uninstall
This commit is contained in:
parent
4115d52d91
commit
6daeefef68
1 changed files with 5 additions and 0 deletions
|
@ -868,7 +868,12 @@ Section "Uninstall"
|
||||||
Delete "$SMPROGRAMS\$MUI_TEMP\@CONSOLE_SHORTCUT_NAME@.lnk"
|
Delete "$SMPROGRAMS\$MUI_TEMP\@CONSOLE_SHORTCUT_NAME@.lnk"
|
||||||
Delete "$DESKTOP\@INTERFACE_SHORTCUT_NAME@.lnk"
|
Delete "$DESKTOP\@INTERFACE_SHORTCUT_NAME@.lnk"
|
||||||
Delete "$DESKTOP\@CONSOLE_SHORTCUT_NAME@.lnk"
|
Delete "$DESKTOP\@CONSOLE_SHORTCUT_NAME@.lnk"
|
||||||
|
|
||||||
|
; if it exists, delete the startup shortcut for the current user
|
||||||
|
SetShellVarContext current
|
||||||
Delete "$SMSTARTUP\@CONSOLE_SHORTCUT_NAME@.lnk"
|
Delete "$SMSTARTUP\@CONSOLE_SHORTCUT_NAME@.lnk"
|
||||||
|
SetShellVarContext all
|
||||||
|
|
||||||
@CPACK_NSIS_DELETE_ICONS@
|
@CPACK_NSIS_DELETE_ICONS@
|
||||||
@CPACK_NSIS_DELETE_ICONS_EXTRA@
|
@CPACK_NSIS_DELETE_ICONS_EXTRA@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue