FreeArc是NSIS解压arc压缩包显示进度条的插件

/*
FreeArc是NSIS解压arc压缩包显示进度条的插件
这个插件 提供了一个基本的arc文件解压功能让nsis脚本可以使用.
如果你想使用这个插件,你必须使用arc压缩格式进行压缩.注意路径当中不要有中文字符.
Arc软件下载地址:http://freearc.org.
*/
!AddPluginDir "../Plugins"
!include 'LogicLib.nsh'
OutFile "FreeArc.exe"
Section "永恒心锁"
SetOutPath "$TEMP"
;The number after the archive name can be 1 or 0
;1 Display FreeArc DetailsPrint, 0 leave DetailsPrint to NSIS ( do nothing ).
FreeArc::ExtractFreeArcArchive /NOUNLOAD "$EXEDIRTestArchive.arc" 1 "Installing ... %s"
;Opitional
Pop $0
${If} $0 == '0'
MessageBox MB_OK "The operation completed successfully."
${Else}
MessageBox MB_OK "the operation failed!"
${EndIf}
SectionEnd
© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容