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:
Moritz Bunkus 2009-02-13 18:41:04 +01:00
parent 277a3b9a09
commit c473941531

View File

@ -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"