Originally posted by TonyDS
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:
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.