Are you using Wkix32.exe or Kix32.exe?

If you are using Kix32.exe:
Just guess but setup.exe might be spawning a separate process and setup then returns control to the script satisfying the SHELL's wait requirement.

You may want to try "%comspec% /c start /wait ..."
_________________________
Home page: http://www.kixhelp.com/hb/