does anyone have a foolproof way of waiting for a spawned background (installation) executable , to finish when spawned from powershell provisioner.
I have tried ..
```powershell
$proc = Start-Process -FilePath "D:\CaptureSV\WrkInst\Setup.exe" -ArgumentList "/s","/i:D:\Kofax\CaptureInitialization.ini" -NoNewWindow -PassThru
$proc.WaitForExit()
```
but still the powershell provisioners don't wait and march on with the next ps script which are dependant on the first shell script finishing !
Thanks,
Andy