Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st August 2004, 10:00   #1
Gunny2k2
Junior Member
 
Join Date: Apr 2003
Posts: 11
Lightbulb Muisc While Installing? Pos? or InPos?

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.
Gunny2k2 is offline   Reply With Quote
Old 1st August 2004, 11:28   #2
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,353
Send a message via ICQ to deguix
We had some threads in the past here in the forums. Try to use the search feature for this purpose.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 1st August 2004, 17:53   #3
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
yeah. or browse the "contrib" folder inside your nsis-directory. i think the "bgimage" plugin can play music in the backround.
Comm@nder21 is offline   Reply With Quote
Old 6th August 2004, 12:24   #4
Takhir
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
Takhir is offline   Reply With Quote
Old 9th August 2004, 16:33   #5
razor_x
Member
 
Join Date: Feb 2004
Posts: 58
Quote:
Originally posted by Takhir
http://forums.winamp.com/showthread....0&pagenumber=2
sound.nsi attachment to my post
ya ive used this Takhir,it works great thanks for this.
razor_x is offline   Reply With Quote
Old 9th August 2004, 21:23   #6
TonyDS
Senior Member
 
Join Date: Jul 2003
Posts: 148
With me it just hangs
TonyDS is offline   Reply With Quote
Old 11th August 2004, 17:29   #7
razor_x
Member
 
Join Date: Feb 2004
Posts: 58
Quote:
Originally posted by TonyDS
With me it just hangs
whats your operating system?
razor_x is offline   Reply With Quote
Old 11th August 2004, 17:40   #8
TonyDS
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
TonyDS is offline   Reply With Quote
Old 11th August 2004, 18:17   #9
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
Quote:
Originally posted by TonyDS
win xp
As I said it just hangs
I tested 2 variants of sound.nsi - using PlaySound() and MCIWndCreate().
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.
Takhir is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump