nsis 2.07Function .onInit
InitPluginsDir
File /oname=$PLUGINSDIR\bass.dll "bass.dll"
File /oname=$PLUGINSDIR\winstart.mp3 "winstart.mp3"
System::Call /NOUNLOAD '${BASS_Init} (1, 44100,, r0,)'
System::Call /NOUNLOAD '${BASS_SampleLoad} (0, "$PLUGINSDIR\${MUSICNAME}", 0, 0, 1, 0) .r0'
System::Call /NOUNLOAD '${BASS_SamplePlay} (r0).r0'
;wait ~41 sec
Banner::show /NOUNLOAD "Startsequenz - bitte warten."
sleep 41000
Banner::destroy
;stop sound
System::Call '${BASS_Free}'
FunctionEnd
Function .onGUIEnd
Delete "$PLUGINSDIR\*.*"
RMdir "$PLUGINSDIR"
FunctionEnd
whats wrong?
(either a sleep 1000 in .onGuiend does not work)
#
theres no other code - thats all