Update Initiation

Hi

I use ForceCheckForUpdate() when a "Check for update" button is clicked by the user. Once the ReadyToBeInstalled event is fired, the application gives a message and calls Application.Restart(); So far, everything is good.

Problem is, the update process starts only when the user clicks on the "Login" button after typing the username and password. Expected behaviour is that the update process (ie installing the downloaded update files) must begin exactly when the applcation is restarted(and not when the user click the login button in the login form). I think in this case, wyUpdate is waiting for some event to be fired inside the application to begin the update.

Can anyone please advice how to begin the update process exactly when the application is restarted (and not when some button is clicked on the first form)

This is a Winforms application and my wyBuild version is 2.6.14.0

The current behavior of the AutomaticUpdater assumes there will be a "main form" of your application and this will be the first actionable screen for the user. One solution to this problem is to have your "Login form" be a modal form off of your "main form" (instead of what you have now -- a separate "login" and "main" form).

Does that make sense?

Thanks for the reply. Yes, it makes sense.