第492篇-NSIS installation—kill process

僤鯓⒐⒋嵵緔 提交于 2019-11-26 21:37:42

If you are using NSIS to build your software installation package, you probably need the NSIS script.  Since NSIS does not provide the build-in method to kill the process that is running during the installation process, we need the plug-ins to help to do this.

1 Put the plug-ins in the NSIS installation directory Plugins directory.

https://skydrive.live.com/#cid=6B286CBEF1610557&id=6B286CBEF1610557!647

2 There are may plug-ins that you can choose, like Processes.dll,processwork.dll,KillProcDLL.dll

1)      Processes::KillProcess "process name"  # no need to write “.exe”

2)       Push "QQ.exe

    Processwork::KillProcess

3)       KillProcDLL::KillProc "process name"  # no need to write “.exe”

3

Function LaunchExecutableFile

ExecShell "" "$PROGRAMFILES\foldername\process.exe"

End Function

 

NSIS dlls download:

https://skydrive.live.com/#cid=6B286CBEF1610557&id=6B286CBEF1610557!647

转载于:https://www.cnblogs.com/shanghaijimzhou/archive/2013/01/20/2869016.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!