Search code examples
nsisuninstallation

NSIS: Detecting in uninstaller is a program working


Is it possible to determine in uninstaller script is a program (that should be uninstalled) working?


Solution

  • If you want to detect if your program is still running, you can use your knowledge of the programs internals to detect either a special window class or a mutex used by the program.

    If you don't have anything other than exe name to go on, use one of the nsis plugins: