Splash Fade and Audio

Got a problem you cannot solve? Try here.
Post Reply
dkenzik
Posts: 1
Joined: Tue Feb 12, 2008 8:39 am

Splash Fade and Audio

Post 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?
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post 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~
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Post Reply