|
|
#1 |
|
Junior Member
Join Date: Apr 2003
Posts: 11
|
Well firstly i d like to say i ve been using NSIS since 2.0's beta 3 and i m not a totaly n00b, but i m wonder if its possiable or inpossiable to play music while the installer is running (as in it plays in background and doesnt pause the installer) so the user can still install the product.
Example is like in Soldier Of Fortune 2 (uses InstallShield) plays a intro sound file about where SOF2 is about but u can still click next and install the game while its playing. Any Comments and suggestions welcomed. ![]()
|
|
|
|
|
|
#2 |
|
Major Dude
|
We had some threads in the past here in the forums. Try to use the search feature for this purpose.
|
|
|
|
|
|
#3 |
|
Major Dude
|
yeah. or browse the "contrib" folder inside your nsis-directory. i think the "bgimage" plugin can play music in the backround.
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
|
http://forums.winamp.com/showthread....0&pagenumber=2
sound.nsi attachment to my post |
|
|
|
|
|
#5 | |
|
Member
Join Date: Feb 2004
Posts: 58
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jul 2003
Posts: 148
|
With me it just hangs
|
|
|
|
|
|
#7 | |
|
Member
Join Date: Feb 2004
Posts: 58
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Jul 2003
Posts: 148
|
win xp
As I said it just hangs, I start the application a box appears, with a slider and stop button, then it freezes, no music is heard, I have to press Ctrl Alt Del to close it |
|
|
|
|
|
#9 | |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
|
Quote:
In my tests PlaySound() hangs on Win98 SE, MCIWndCreate() works fine on Win98, XP, W2K (testing is a part of my job). May be this is NSIS problem, because I used PlaySound() a lot of times in C programs earlier - all of them work fine (in this part . Unfortunately I am under strong customer pressure now and cannot investigate this problem in detail BTW I had the same problem with NSIS splash plugin (bmp banner+sound) - no sound on Win98, may be because it uses PlaySound() call (see splash.c line 98: PlaySound(fn2,NULL,SND_ASYNC|SND_FILENAME|SND_NODEFAULT); Finally what I want to say: I published MCIWndCreate() script variant not because I like it more then PlaySound() call, the only reason - in my brief test it worked on all platforms, but PlaySound() not worked on Win98 (in this script). The only thing I see - MCIWndCreateW() must be used for wide char. progs. |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|