NSIS: Detecting in uninstaller is a program working
Is it possible to determine in uninstaller script is a program 开发者_如何学编程(that should be uninstalled) working?
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:
- http://nsis.sourceforge.net/LockedList_plug-in
- http://nsis.sourceforge.net/KillProc_plug-in
- http://nsis.sourceforge.net/Processes_plug-in
- http://nsis.sourceforge.net/FindProcDLL_plug-in
精彩评论