mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 20:32:33 +00:00
Remove all installed files and directories during uninstallation
Always try to remove the "jobs" subdirectory so that no empty directory remains. Fix for bug 334. Remove the new DLLs libiconv-2.dll and libintl-8.dll during uninstallation as well.
This commit is contained in:
parent
277a3b9a09
commit
c473941531
@ -242,7 +242,8 @@ Section Uninstall
|
||||
Delete "$INSTDIR\uninst.exe"
|
||||
Delete "$INSTDIR\libcharset.dll"
|
||||
Delete "$INSTDIR\libebml.dll"
|
||||
Delete "$INSTDIR\libiconv.dll"
|
||||
Delete "$INSTDIR\libiconv-2.dll"
|
||||
Delete "$INSTDIR\libintl-8.dll"
|
||||
Delete "$INSTDIR\libmatroska.dll"
|
||||
Delete "$INSTDIR\matroskalogo_big.ico"
|
||||
Delete "$INSTDIR\mkvextract.exe"
|
||||
@ -308,7 +309,7 @@ Section Uninstall
|
||||
RMDir "$INSTDIR\doc"
|
||||
RMDir "$INSTDIR\examples"
|
||||
|
||||
StrCmp $unRemoveJobs "Yes" 0 +3
|
||||
StrCmp $unRemoveJobs "Yes" 0 +2
|
||||
Delete "$INSTDIR\jobs\*.mmg"
|
||||
RMDir "$INSTDIR\jobs"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user