From a453cf7a2c6cbeb23abefc99db953084d2be4560 Mon Sep 17 00:00:00 2001 From: lcferrum Date: Tue, 10 Oct 2017 00:18:34 +0400 Subject: [PATCH] Clear errors if failed to run SnKh so not to break something somewhere --- SuiteInstaller.nsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SuiteInstaller.nsi b/SuiteInstaller.nsi index 94f5b4b..0c3e8ff 100644 --- a/SuiteInstaller.nsi +++ b/SuiteInstaller.nsi @@ -573,6 +573,7 @@ Function killExistingSnK StrCpy $R0 "SnKh.exe" ${endif} ExecWait '"$R0" +alc /lst:ffwd /pth:full="$INSTDIR\HotkeySuite.exe"' + ClearErrors ${endif} FunctionEnd @@ -594,6 +595,7 @@ Function un.killInstalledSnK StrCpy $R0 "SnKh.exe" ${endif} ExecWait '"$R0" +alc /lst:ffwd /pth:full="$INSTDIR\HotkeySuite.exe"' + ClearErrors FunctionEnd Function patchInstdir