最新消息:

InetLoad是NSIS下载文件ftp文件自定义进度条的网络插件

nsis 永恒心锁 2015浏览 0评论
;--------------------------------
; General Attributes
!AddPluginDir .
Name "InetLoad Test"
OutFile "InetLoad.exe"
;SilentInstall silent
;--------------------------------
;Interface Settings
 !include "MUI2.nsh"
 !define MUI_ICON "${NSISDIR}ContribGraphicsIconsmodern-install-colorful.ico"
 !insertmacro MUI_PAGE_WELCOME
 !insertmacro MUI_PAGE_INSTFILES
 !insertmacro MUI_PAGE_FINISH
 !insertmacro MUI_LANGUAGE "English"
;--------------------------------
;Installer Sections
Section "NSIS衿华客"
# usage: InetLoad::load [/PROXY IP:PORT] [/USERNAME PROXY_LOGIN /PASSWORD PROXY_PASSWD] [/NOPROXY] [/NOCANCEL] [/POST TEXT2POST] [/TIMEOUT INT_MS] [/SILENT TEXT2DISPLAY] [/RESUME RETRY_QUESTION] [/POPUP PREFIX | /BANNER CAPTION TEXT] [/TRANSLATE LANG_PARAMS] URL1 local_file1 [URL2 local_file2 [...]] [/END]
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $R0 $0 1004
SkinProgress::Set $R0 "$EXEDIRloading2.bmp" "$EXEDIRloading1.bmp"
 InetLoad::load /hwnd "$R0" "http://www.yhxs3344.net/NSIS_JHK/NSI/3040.7z" "$EXEDIR3040.7z"
 Pop $0
 MessageBox MB_OK "Download Status: $0"
SectionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » InetLoad是NSIS下载文件ftp文件自定义进度条的网络插件

您必须 登录 才能发表评论!