Detecting installation Complete

Hi Friends,
I am using the "ShellExecute API" to run a batch file that in turn installs MSDE.I need to determine when the installation that was initiated by the "ShellExecute" API has finished.Can anyone help me with this.Any help will be appreciated.
Thanks in advance.
SK.
[288 byte] By [VB_Programmer] at [2007-12-16]
# 1
Have you considered using the VS Bootstrapper instead to deploy MSDE? The bootstrapper is a generic, extensible installation engine that can be configured to deploy an arbitrary sequence of components and applications. You can configure the bootstrapper for MSDE by authoring a fairly straightforward XML file. VS ships with built in support for SQL Server Express, which may be a better option than MSDE.

For an overview, check out the following article:

http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/
Regards,
Sean: VBPM

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