[Packaging] Fix NSIS Uninstaller Not Removing File\Folder
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Website.lnk" "$INSTDIR\homepage.url" gets made in the installer but the uninstaller was looking for Delete "$SMPROGRAMS\$StartMenuFolder\Deluge Website.lnk" therefore this file was being left behind and since the folder was not empty $StartMenuFolder\Deluge was being left behinde as well. Closes: https://github.com/deluge-torrent/deluge/pull/426
This commit is contained in:
parent
d8b586e6ba
commit
8001110625
|
@ -203,8 +203,8 @@ Section Uninstall
|
|||
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
|
||||
SetShellVarContext all
|
||||
Delete "$SMPROGRAMS\$StartMenuFolder\Deluge.lnk"
|
||||
Delete "$SMPROGRAMS\$StartMenuFolder\Website.lnk"
|
||||
Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall Deluge.lnk"
|
||||
Delete "$SMPROGRAMS\$StartMenuFolder\Deluge Website.lnk"
|
||||
RmDir "$SMPROGRAMS\$StartMenuFolder"
|
||||
DeleteRegKey /ifempty HKCR "Software\Deluge"
|
||||
|
||||
|
|
Loading…
Reference in New Issue