This is our public trove of source code samples, for others to use, adapt, and benefit from.
Source code samples:
Inno Setup - Close a Program Before Reinstalling It - This Inno Setup script determines if a particular executable is running and prompts the user to close it before resuming the installation/uninstallation process.