把下载的压缩包中的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.
if exe' directory is empty after file deletion, removes directory as well with this option.
Example:
Function .onInstSuccess
SelfDel::del
FunctionEnd
点击下载:SelfDel.zip