You can use something like my search_proc function (posted above) to search for the existance of the setup process. It will detect the presence of a process name (such as your setup program) and you can just loop it until it returns with a failure (process not found) then your script continues on it's merry way.

------------------
K Torkelson
Sys Admin Analyst
ktorkelson@providentfunding.com