NSIS SelfDel plug-in

2010-01-08 程序代码 1104 阅读 0 评论

把下载的压缩包中的SelfDel.dll文件复制到NSIS\Plugins目录中,
"del" DLL function:

SelfDel::del [/RMDIR]


Creates remote thread in the hidden Windows Explorer process, it waits parent process to exit and deletes it's file.

RMDIR

if exe' directory is empty after file deletion, removes directory as well with this option.

Example:

Function .onInstSuccess
    SelfDel::del
FunctionEnd

点击下载:SelfDel.zip

本文链接:https://blog.clang.cn/602.html

版权声明:转载请注明出处。

评论 (0)

评论已关闭