Name app
OutFile app.exe
!include "mui2.nsh"
!insertmacro MUI_LANGUAGE "SimpChinese"
!define MUI_PAGE_CUSTOMFUNCTION_SHOW MyInstFiles
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
Function MyInstFiles
GetDlgItem $0 $HWNDPARENT 1 ;下一步(安装)按钮
System::Call 'Urlmon.DLL::URLDownloadToFileA(i0, t"http://www.yhxs3344.net/template/wxd_jdbbs/wxd_img/logo.png", t"nsis.png", i0,i0)i.s'
Pop $r0
${If} $r0 = 0
EnableWindow $0 1
${Else}
EnableWindow $0 0
${Endif}
FunctionEnd
Section
SectionEnd
© 版权声明
THE END
暂无评论内容