开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜