wybuild iin starting window

In our project we want to use wybuild in the starting window. The wybuild-Object searches there for updates and installs them if they are available (We install updates when the Event ReadyToBeInstalled is true). Our Problem is that we get exceptions when the starting window closes (we destroy it). Is it not allowed to do this or is wybuild doing something at that time or something like that.?

Thanks for your help

I'm not sure what you're doing -- are you trying to automate using wyBuild with a script?

Are you talking about the AutomaticUpdater?

We have a C# .net 4.0 project with many windows/screens and we are using the AutomaticUpdater in a window/screen which is the first at the start of the program. And after a while this window closes ( we destroy/delete it) and then we get exceptions. Do we have to get this window still alive or do we have to kill especially something from the Automatic Updater? We do not want to get updates, when we still left the starting window/screen.Is that possible to understand?

Thanks for yout help!!!

The AutomaticUpdater must exist for the entire life of your app. So put it on the "main" window of your app.

But we only want a check at the start of the programm. It has not to be updated when it is still running. Is that possible?

The AutomaticUpdater is very lightweight. There's hardly any memory requirements and the CPU load is negligible. But the real answer is that the AutomaticUpdater can't be disposed like that because we didn't design it that way. We designed the AutomaticUpdater with the assumption it will exist for the life of your app.

If you just want to quickly check for updates then you might want to try wyUpdate in standalone mode. See How to Silently Check for Updates.