From 4c644f67ca699d682ba613648fe3cb2ba11b1625 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Fri, 23 Oct 2020 22:26:50 -0700 Subject: [PATCH] kill procs when uninstalling --- build/setup-x86.iss | 1 + build/setup.iss | 1 + 2 files changed, 2 insertions(+) diff --git a/build/setup-x86.iss b/build/setup-x86.iss index 0e9da72..f97265b 100644 --- a/build/setup-x86.iss +++ b/build/setup-x86.iss @@ -52,6 +52,7 @@ Filename: "{app}\{#NSSM}"; Parameters: "remove tacticalagent confirm"; RunOnceId Filename: "{app}\{#NSSM}"; Parameters: "stop checkrunner"; RunOnceId: "stopcheckrun"; Filename: "{app}\{#NSSM}"; Parameters: "remove checkrunner confirm"; RunOnceId: "removecheckrun"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-m cleanup"; RunOnceId: "cleanuprm"; +Filename: "{cmd}"; Parameters: "/c taskkill /F /IM tacticalrmm.exe"; RunOnceId: "killtacrmm"; Filename: "{#SALTUNINSTALL}"; Parameters: "/S"; RunOnceId: "saltrm"; Filename: "{app}\{#MESHEXE}"; Parameters: "-fulluninstall"; RunOnceId: "meshrm"; diff --git a/build/setup.iss b/build/setup.iss index 7940fd8..f6657ec 100644 --- a/build/setup.iss +++ b/build/setup.iss @@ -52,6 +52,7 @@ Filename: "{app}\{#NSSM}"; Parameters: "remove tacticalagent confirm"; RunOnceId Filename: "{app}\{#NSSM}"; Parameters: "stop checkrunner"; RunOnceId: "stopcheckrun"; Filename: "{app}\{#NSSM}"; Parameters: "remove checkrunner confirm"; RunOnceId: "removecheckrun"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-m cleanup"; RunOnceId: "cleanuprm"; +Filename: "{cmd}"; Parameters: "/c taskkill /F /IM tacticalrmm.exe"; RunOnceId: "killtacrmm"; Filename: "{#SALTUNINSTALL}"; Parameters: "/S"; RunOnceId: "saltrm"; Filename: "{app}\{#MESHEXE}"; Parameters: "-fulluninstall"; RunOnceId: "meshrm";