Determining installation complete - ShellExecute API

Hi Friends,
              I am using ShellExecute API to run an application.Is it possible to determine when the program that was initiated by the ShellExecute API has finished executing (I mean finished installation as I am using the ShellExecute to run my setup.exe).


Thanks in advance.




Answer this question

Determining installation complete - ShellExecute API

  • pvh

    If you use the Process class instead, you can set the WaitForExit flag.


  • Determining installation complete - ShellExecute API