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";