Improve deletion of the Sandboxie folder
This commit is contained in:
parent
02b39d4fb9
commit
3770420920
|
@ -1247,14 +1247,23 @@ Function DeleteProgramFiles
|
||||||
StrCmp $DeleteSandboxieIni "N" SkipDeleteSandboxieIni
|
StrCmp $DeleteSandboxieIni "N" SkipDeleteSandboxieIni
|
||||||
Delete "$INSTDIR\${SANDBOXIE_INI}"
|
Delete "$INSTDIR\${SANDBOXIE_INI}"
|
||||||
Delete "$WINDIR\${SANDBOXIE_INI}"
|
Delete "$WINDIR\${SANDBOXIE_INI}"
|
||||||
|
|
||||||
SkipDeleteSandboxieIni:
|
SkipDeleteSandboxieIni:
|
||||||
|
|
||||||
;
|
;
|
||||||
; Delete installation folder
|
; Delete installation folder
|
||||||
;
|
;
|
||||||
|
|
||||||
|
ClearErrors
|
||||||
RMDir "$INSTDIR"
|
RMDir "$INSTDIR"
|
||||||
|
|
||||||
|
IfErrors 0 SkipDeleteDir
|
||||||
|
Sleep 1000
|
||||||
|
RMDir "$INSTDIR"
|
||||||
|
|
||||||
|
SkipDeleteDir:
|
||||||
|
ClearErrors
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
;----------------------------------------------------------------------------
|
;----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue