Any way to quel Messageboxes when have no UI?

  • Thread starter Thread starter Bill Davidson
  • Start date Start date
B

Bill Davidson

All:

I've run into a rather interesting problem. I'm trying to launch an MSI
program (e.g. "MSIExec.Exe MyMSI.msi /qn") from my Win32 service. The
MSIExec.Exe process launches okay (supposedly in "quiet" mode due to the
'/qn' switch), but immediately hangs. A hang dump reveals the MSI program
is making a Messagebox call !?!?

Note that I can launch all other non-UI programs just fine from my service.

Question? Is there any way in my code to accomodate, or preferably, quell ,
this program's messagebox in order for the process to proceed ? I create
the process via CreateProcessWithLogonW().

Thanks,
Bill
 
Back
Top