|
|
|
|
#1 |
|
Junior Member
Join Date: Nov 2004
Location: Oslo, Norway
Posts: 12
|
Hi
![]() I have searched around because I want my installer to play a *.midi-file... I have tryed many diffrent functions.. but I can't get this to work! Here is something I tryed..: code: Can someone please help me? Thanks! |
|
|
|
|
|
#2 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
I recommend something like:
code: * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
Attached script can also play mp3
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
PlaySound works with wavetable (wav) files. With mci please note, that "play repeat" may be not supported, so better use
... SendMessage $0 0x0465 0 "STR lay"
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Note the
code: ![]() -Stu |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Nov 2004
Location: Oslo, Norway
Posts: 12
|
Thanks all!
But I still can't play midi files ![]() All I try I get error messages that it can't find the file or some error with something else... Does theese codes work for you? BTW: I have also tryed whit the full path (C:\something\NSIS\Plugins\ instead of just $PLUGINSDIR) and rename my midi-file to *.mid... Tnx!
|
|
|
|
|
|
#7 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
this work even on Win98
![]() Package includes midi file |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Nov 2004
Location: Russia Kursk-city
Posts: 47
|
Is it possible to play tracker files (mod, xm) in installer (maybe after install of http://download.dsp-worx.de/MODSourc..._Installer.zip)?
Is it possible to set playback volume for midi music (for example to set system volume to middle value before starting playback)? In many cases all system volume may be at max. value, and when I launch installer - it's to loud... |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
|
The msvfw32.dll::MCIWndCreate is logging some info into file $EXEPATH.log. I tried to delete the log in .onGUIEnd, but it can't be deleted until installer exits. I'd like to have no logging.
How to get rid of logging? There is nothing about it in MSDN
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|