From 0c10b3c07bad850c5f73dc19c9a87adf7dd76153 Mon Sep 17 00:00:00 2001 From: Jaex Date: Sat, 8 May 2021 23:24:32 +0300 Subject: [PATCH] Update ShareX-setup.iss --- ShareX.Setup/InnoSetup/ShareX-setup.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShareX.Setup/InnoSetup/ShareX-setup.iss b/ShareX.Setup/InnoSetup/ShareX-setup.iss index 26400db31..62bef29da 100644 --- a/ShareX.Setup/InnoSetup/ShareX-setup.iss +++ b/ShareX.Setup/InnoSetup/ShareX-setup.iss @@ -134,7 +134,7 @@ var begin if CheckForMutexes('{#MyAppId}') then begin - if (MsgBox('Uninstall has detected that {#MyAppName} is currently running.' + #13#10#13#10 + 'Would you like to close it?', mbError, MB_YESNO) = IDYES) then + if MsgBox('Uninstall has detected that {#MyAppName} is currently running.' + #13#10#13#10 + 'Would you like to close it?', mbError, MB_YESNO) = IDYES then begin Exec('taskkill.exe', '/f /im {#MyAppFilename}', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode); end