NSIS无窗体透明的闪屏效果

Name "123"
OutFile "123.exe"
AutoCloseWindow true
!include "MUI.nsh"
;!define MUI_CUSTOMFUNCTION_GUIINIT MUIGUIInit
;!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_LANGUAGE "English"
Function .onInit
 InitPluginsDir
 SetOutPath "$PLUGINSDIR"
 File "test.gif"
 newadvsplash::show /NOUNLOAD 2000 1000 2000 "$PLUGINSDIRtest.gif"
 Sleep 2000
 MessageBox mb_ok "演示完毕"
FunctionEnd
/*
Function MUIGUIInit
 newadvsplash::wait
 Delete "$PLUGINSDIRtest.gif"
 SetOutPath "$EXEDIR"
 ShowWindow $HWNDPARENT ${SW_RESTORE}
FunctionEnd
*/
Section
SectionEnd
© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容