Page 1 of 1

Splash Fade and Audio

Posted: Tue Feb 12, 2008 8:46 am
by dkenzik
I have a requirement to display a splash graphic and play an audio file prior to the installation process. The graphic needs to fade in upon start, fade out upon end, and have an alpha channel.

There is an NSIS plugin to accomplish this, but I'm in the process of moving my installer from NSIS over to InstallAware due to additional features available.

I haven't seen a way to accomplish this with InstallAware.

Anyone have any ideas?

Posted: Tue Feb 12, 2008 6:47 pm
by Alex_Ronquillo
The splash graphic can be embedded into an index.htm file. Include both files index.htm and image files as support files and in a dialog include a HTMLViewer contol and set its source to installation billboards. That will display the HTML file in the control. For the sound, here is the code to play a sound in IA. You will need to find a way to use them both at the same time, that means the dialog must be non modal:

Code: Select all

~InstallAware Clipboard Data~
~Call DLL Function~
~{77AA04AE-25CB-4FB5-96F6-C275ADF3755A}~
~$WINSYSDIR$winmm.dll,PlaySound,bool,result,"allocated string buffer (MAX_PATH length)",$SUPPORTDIR$sound.wav,long,0,long,1,$~
~mIDEFunc.dll\\mEXEFunc.dll~