Run Update while Application start

I use AutomaticUpdater control on mainform of the application, it works fine. but there is a login dialog displayed before mainform, so the app may be restart while user already logged. I move AutomaticUpdater control to login dialog, it has insufficient time to download update. I need to run the update before logging in, what should I do? thanks!

Either use the AutomaticUpdaterBackend or use wyUpdate as the standalone updater.