Deliverator
18th September 2003 17:53 UTC
Gradient background before advsplash
I'm using the modern interface and the AdvSplash.
Is it possible to do the following in this order?
Gradient background
AdvSplash
Remove gradient
First install window appears
I show the AdvSplash in the .onInit callback function. I can't figure out how to get the background before the AdvSplash. Thanks.
Regards,
Rich
Joost Verburg
18th September 2003 18:53 UTC
You can use the BgImage plug-in.
But why would you want to combine the Modern UI with an old-style background gradient? Imo it's not such a good combination.
Deliverator
18th September 2003 18:59 UTC
I'm trying to use the BgImage plug-in. But I can't get it to run before the AdvSplash runs.
And I agree about mixing the old and new, but it is a "requirement" from a higher-up.
Regards,
Rich
kichik
19th September 2003 12:59 UTC
Simply copying the AdvSplash example at the end of .onGUIInit in the BgImage example worked fine for me.
Deliverator
19th September 2003 14:09 UTC
I'm using the modern interface. do I can't put anything in .onGuiInit.
I !include "${NSISDIR}\INCLUDE\mui.nsh" and then
!define MUI_CUSTOMFUNCTION_GUIINIT guiinit
I put my code in guiinit.
At any rate, it's not that important. I wanted to go with an all modern interface anyway. :)
BTW, thank you very much for a GREAT product, and all the enhancements.
Joost Verburg
19th September 2003 15:15 UTC
MUI_CUSTOMFUNCTION_GUIINIT does work, you must have put the define in the wrong place. Anyway, a whole modern interface is better :)