Archive: Gradient background before advsplash


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


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.


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


Simply copying the AdvSplash example at the end of .onGUIInit in the BgImage example worked fine for me.


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.


MUI_CUSTOMFUNCTION_GUIINIT does work, you must have put the define in the wrong place. Anyway, a whole modern interface is better :)