/* FreeArc是NSIS解压arc压缩包显示进度条的插件 这个插件 提供了一个基本的arc文件解压功能让nsis脚本可以使用. 如果你想使用这个插件,你必须使用arc压缩格式进行压缩.注意路径当中不要有中文字符. Arc软件下载地址:http://freearc.org. */ !AddPluginDir "../Plugins" !include 'LogicLib.nsh' OutFile "FreeArc.exe" Section "NSIS衿华客" 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