PDA

View Full Version : can my program wait for the update to finish?



Mortamer
02-19-2005, 12:46 PM
Hello, do you have any suggestions on how to make my program (which will launch the updater silently) wait until the update is finished before moving on? That is one of my only fears about a standalone application. I am using delphi if that matters.

Ted Sullivan
02-19-2005, 01:32 PM
You can simply call the update.exe using standard windows API calls from your Delphi application. Windows provides a number of functions that allow you to wait for the process to return before your application continues. Check your Dephi documentation for samples.