mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +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\examples"
|
||||
|
||||
StrCmp $unRemoveJobs "Yes" 0 +2
|
||||
StrCmp $unRemoveJobs "Yes" 0 +8
|
||||
Delete "$INSTDIR\jobs\*.mmg"
|
||||
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"
|
||||
SetShellVarContext current
|
||||
RMDir "$APPDATA\mkvtoolnix"
|
||||
SetShellVarContext all
|
||||
RMDir "$APPDATA\mkvtoolnix"
|
||||
|
||||
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
||||
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
||||
|
Loading…
Reference in New Issue
Block a user