The "file in use" dialog disappears once the file is no longer in-use. Would passing a commandline switch to wyUpdate like "-hidefiu=5" to hide the file in-use dialog for 5 seconds? That is, give your app some time to exit before bugging your users.
We have an issue while updating our application. Our application is designed to update automatically when launched. We have done this successfully using the AutomaticUpdater control. The application starts, invokes wyupdate.exe behind the scenes to check for a update. If there is one, we pop the update window instead of going through the usual application startup sequence. The update is downloaded and the application quits so it can be updated. Everything works fine except for one annoying detail. When updating, the "files in use" dialogs pops up for a few seconds showing that the application is still running, until the application finally exits and the update can continue.
It seems like the application process cannot exit quickly enough when the update process is launched. We've cleared everything so the application exits immediately after the update window closes but it's still isn't closing fast enough not to see the "files in use" dialog. Is there anyway to delay the update so the application has time to exit?
The "file in use" dialog disappears once the file is no longer in-use. Would passing a commandline switch to wyUpdate like "-hidefiu=5" to hide the file in-use dialog for 5 seconds? That is, give your app some time to exit before bugging your users.