Recently with Inno Setup want to do an EXE, but before the installation to stop the corresponding process is running, but found that its own method can not meet the requirements, finally found the corresponding information on the Internet, summarized here, convenient for later use.ġ: If I just want to determine before the installation of a process exists, to introduce Psvince.dll this DLL, placed in the Inno Setup directory (the same directory as other DLLs), the code is as follows: Here is the article to go, thank the author for sharing. The answer is clear that Inno Setup is capable of such operations. So when it comes to this situation can not be in the update installer, the update is the default when the old program to kill (if the old program is running). Packaging the time to meet the requirements: Fake users are fool-like operation, if the update installation program, the old program is still running this time if you go to the prompt to let the user bar old program manual return is not realistic.