NSIS判断软件是否在运行
2009年2月15日
没有评论
需要安装2个plugin,http://nsis.sourceforge.net/FindProcDLL_plug-in
Function un.onInit
FindProcDLL::FindProc "你的程序.exe"
Pop $0
IntCmp $0 1 0 no_run
MessageBox MB_ICONSTOP "(你的程序)正在运行,请先关闭程序!"
Quit
no_run:
FunctionEnd
分类: NSIS