Brian May wrote: > It seems to work. > > Can I please confirm why you use "start"? Is this for extra debugging? Looks like a race condition exists, due to using start. The process is started for upgrading wpkg, and at the same time wpkg continues and checks the latest version is already installed - but it isn't installed yet because the background task is still executing. Probably better just to call the batch file directly. Brian May |