From de2c93d82f575b42c14ad2db40d3f18af616c62c Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 9 Aug 2026 00:16:10 +0100 Subject: [PATCH] Introduce delay in Windows installer to improve update reliability - 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. --- packaging/windows/installer.nsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/windows/installer.nsh b/packaging/windows/installer.nsh index 8911994..940f557 100644 --- a/packaging/windows/installer.nsh +++ b/packaging/windows/installer.nsh @@ -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..."