admin 发表于 2019-3-1 22:03:29

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

页: [1]
查看完整版本: NSIS无窗体透明的闪屏效果