I want to kill a process using inno setup.i want to check whether the window is open before i start installing the setup.
can i do this by searching windows name? please help me with some sample code to kill the process
in the [UninstallRun] section, you can add the following code:
Filename: {sys}\taskkill.exe; Parameters: "/f /im MyProcess.exe"; Flags: skipifdoesntexist runhidden
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With