Morning everyone.
Here's the deal.
InstallShield 12 Professional.
Basic MSI.
I want to play a .mid file during the installation.
I want the file to play in the background while the installation goes on.
I CAN get the .mid file to pay Sync.
But when I change "MMEDIA_PLAYSYNCH" to "MMEDIA_PLAYASYNCH", nothing plays at all.
No error messages.
Nothing.
Any idea what I might be doing wrong ?
Thanks in advance for all responses.
Ray
Here's my InstallScript code for clarification.
// Include header files
//#include "ifx.h" //DO NOT REMOVE
#include "isrt.h" // Include Isrt.h for built-in InstallScript function prototypes.
#include "iswi.h" // Include Iswi.h for Windows Installer API function prototypes and constants.
// All custom function prototypes to go next
// Entry-point functions...
export prototype PlayMedia(HWND);
//////////////////////////////////////////////////////////////////////////////
//
// FUNCTION: PlayMedia
//
// EVENT: Plays a .mid file while the installation is in progress
//
//
//////////////////////////////////////////////////////////////////////////////
function PlayMedia(hMSI)
#define SOURCE SRCDIR + "mstrpiec.mid"
begin
PlayMMedia (MMEDIA_MIDI, SOURCE, MMEDIA_PLAYASYNCH, 0);
return ERROR_SUCCESS;
end;
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
PlayMMedia question
Started by
RayKode
, Jul 05 2006 17:07
1 reply to this topic
Posted 06 July 2006 - 20:35
Hello again folks,
My previously posted issue, has been confirmed by InstallShield, to be a problem in InstallShield Professional version 12.
Even though they do not "yet", have a work around, it IS nice to know I was doing everything correctly.
Take care eveyone.
Ray in Wisconsin
My previously posted issue, has been confirmed by InstallShield, to be a problem in InstallShield Professional version 12.
Even though they do not "yet", have a work around, it IS nice to know I was doing everything correctly.
Take care eveyone.
Ray in Wisconsin