Skip to content
⌘ NSIS Forum Archive

How use bgimage in MUI

4 posts

tomorrow#

How use bgimage in MUI

I have written these code:
"!define MUI_CUSTOMFUNCTION_ONGUIINIT myGuiInit

Function myGUIInit
# the plugins dir is automatically deleted when the installer exits
InitPluginsDir
File /oname=$PLUGINSDIR\bgimage.bmp "D:\Release_soft\KIDS8.2B\resource\back.bmp"
BgImage::Init /NOUNLOAD /FILLSCREEN $PLUGINSDIR\bgimage.bmp
FunctionEnd"
But bgimage.bmp is not showed!
Thanks a lot!