Play a wav file while setup
Hy how can I play a .wav file while setup ? I use modern ui Menu
11 posts
PlaySound supports wav files, or see attached script sample - this plays mp3 as well.
!define SND_NAME "windows.wav"
InitPluginsDir
SetOutPath $PLUGINSDIR
File "${SND_NAME}"
System::Call 'winmm.dll::PlaySound(t "$PLUGINSDIR\${SND_NAME}", i 0, i 0x0002000b) i .r0'