pacha35
27th November 2004 16:05 UTC
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
Afrow UK
27th November 2004 16:29 UTC
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
pacha35
27th November 2004 17:20 UTC
Thanks, I'll try this today
Takhir
27th November 2004 17:33 UTC
BgImage plays wav files, but wavs are huge.. And plug-in adds package size. Few lines of script can play mp3 - see attachment.
pacha35
27th November 2004 17:51 UTC
Thank's again, it works very fine.
Pacha35