mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
Remove the APPDATA\jobs directory during uninstallation
Fix for bug 474.
This commit is contained in:
parent
2c6d6c9625
commit
e912ec0b1b
@ -426,11 +426,21 @@ Section Uninstall
|
|||||||
RMDir "$INSTDIR\doc"
|
RMDir "$INSTDIR\doc"
|
||||||
RMDir "$INSTDIR\examples"
|
RMDir "$INSTDIR\examples"
|
||||||
|
|
||||||
StrCmp $unRemoveJobs "Yes" 0 +2
|
StrCmp $unRemoveJobs "Yes" 0 +8
|
||||||
Delete "$INSTDIR\jobs\*.mmg"
|
Delete "$INSTDIR\jobs\*.mmg"
|
||||||
RMDir "$INSTDIR\jobs"
|
RMDir "$INSTDIR\jobs"
|
||||||
|
SetShellVarContext current
|
||||||
|
Delete "$APPDATA\mkvtoolnix\jobs\*.mmg"
|
||||||
|
RMDir "$APPDATA\mkvtoolnix\jobs"
|
||||||
|
SetShellVarContext all
|
||||||
|
Delete "$APPDATA\mkvtoolnix\jobs\*.mmg"
|
||||||
|
RMDir "$APPDATA\mkvtoolnix\jobs"
|
||||||
|
|
||||||
RMDir "$INSTDIR"
|
RMDir "$INSTDIR"
|
||||||
|
SetShellVarContext current
|
||||||
|
RMDir "$APPDATA\mkvtoolnix"
|
||||||
|
SetShellVarContext all
|
||||||
|
RMDir "$APPDATA\mkvtoolnix"
|
||||||
|
|
||||||
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
||||||
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
||||||
|
Loading…
Reference in New Issue
Block a user