During an update to a new version, our installer uninstalls any previous version found on the machine. We want to do this silently since we don't want the user to have the option not to uninstall the previous version or anything. To do this we pass the "/S" switch to the uninstall program. What we have found is that the uninstall sometimes produces a pending file deletion operation that is then completed the next time the computer is rebooted. Is there some flag or return code that can be checked after the Uninstall program runs to determine if one of these pending operations has been queued?