Archive: sound in the install program


sound in the install program
Hi,

I want to play music during my install exe.
I work in MUI format and I don't find how to use this feature on the net.

I've tried this:
--------------
Function .oninit
...

InitPluginsDir
File /oname=$PLUGINSDIR\1.wav "C:\Program Files\NSIS\ajouts_RB\splash_01.wav"

splash::show $PLUGINSDIR\1.wav

...
FunctionEnd
----------------
This doesnot work
Thanks to help me

Pacha35


Splash is for showing a bitmap / playing a sound only before the installer shows up. To play a sound during the whole installation use the BgImage plugin. Readme in Contrib\BgImage

-Stu


Thanks, I'll try this today


BgImage plays wav files, but wavs are huge.. And plug-in adds package size. Few lines of script can play mp3 - see attachment.


Thank's again, it works very fine.

Pacha35