Introduce delay in Windows installer to improve update reliability
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added a 3-second sleep before clearing leftover installation directories, allowing for smoother transitions during the update process and reducing potential conflicts with file locks.
This commit is contained in:
parent
a0ea239aa6
commit
de2c93d82f
@ -131,6 +131,8 @@ Var FinalInstDir
|
||||
; is any process's working directory cannot be renamed, so move out first.
|
||||
SetOutPath "$TEMP"
|
||||
|
||||
Sleep 3000
|
||||
|
||||
; Clear a leftover .old from a previous interrupted update.
|
||||
${If} ${FileExists} "$FinalInstDir.old"
|
||||
DetailPrint "Removing leftover Farm Control.old..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user