惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
U
Unit 42
A
About on SuperTechFans
Vercel News
Vercel News
B
Blog
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
腾讯CDC
D
Docker
V
Visual Studio Blog
博客园 - 叶小钗
The Cloudflare Blog
Jina AI
Jina AI
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
WordPress大学
WordPress大学
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
D
DataBreaches.Net
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏

博客园 - 吴尔平

gtest 的彩色信息输出 + boost.test 的内存泄漏检测及定位 在低版本的 vc 中使用 vc 10.0 的新特性 使用另一个blog: http://blog.csdn.net/WuErPing scons + swig 如何在 vista 使用 Device Emulator 连接internet vc9 Feature Pack Beta tr1 的一些问题 C#与一个彩票页面 - 吴尔平 - 博客园 py2exe 转换 pytetris - 吴尔平 关于模板化的friend class C# 的 random shuffle python 读取 windows event log 的简短代码 IronPython 1.0 Release Candidate (转贴 ( 据说比c实现的快1.5!) ) Visual Studio Service Pack (转贴) The 16th Annual Jolt Product Excellence Award Winners (转贴) C++/CLI FAQ (逐步整理中) C++/CLI singleton模式 (双重检测锁实现) 如何在 VS2005 的 Team Unit Testing frameworks 中测试 Native Code (C++ ) 2005 CRT memory leaks 改变 SQL Server 2000 所有对象的所有者
NSIS Kill Process (转贴)
吴尔平 · 2008-03-12 · via 博客园 - 吴尔平


http://www.esanu.name/programs/NSISKillProcess.html

Plug-in help to terminate, close, quit and detect working any process from NSIS installer.

Notes for usage:

  1. Download NSIS Installer
  2. NSIS Installer
  3. Download Kill Process for NSIS
  4. Unrar it and to NSIS instaled path, ussualy are C:\Program Files\NSIS\Plugins\
  5. Make any script install.
  6. Exported Function are: ExistsProcess, KillProcess, CloseProcess, QuitProcess
  7. Use inside script:
Function CloseParentWithUserApproval
    Push $5
    loop:
        push "msimn.exe"
        processwork::existsprocess
        pop $5
        IntCmp $5 0 done
        MessageBox MB_RETRYCANCEL|MB_ICONSTOP
            'Outlook Express must be closed during             this installation.$\r$\n             Close Outlook Express now,             or press "Retry" to automatically close             Outlook Express and continue or press             "Cancel" to cancel the             installation entirely.'  IDCANCEL BailOut
        push "msimn.exe"
        processwork::KillProcess
        Sleep 2000
    Goto loop
BailOut:
Abort
done:
Pop $5
FunctionEnd

If want more features or any bug, fill free to contact me.

Download Kill Process for NSIS

Keywords related to this page:
kill processes, kill windows processes, nullsoft streaming video, nullsoft, nullsoft video, nsis, nullsoft installer, nullsoft winamp, nsis installer, close processes, closing processes, eclipse nsis, how to kill processes, kill all child processes