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.

[307 byte] By [VB_Programmer] at [2007-12-16]
# 1

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

TaDa at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...