Can I do this with BackEndUpdater?

I've got a windows app, but I don't want to use the AutomaticUpdater. I want fire up a windows app, and if an update exists, force it (shutdown, apply update, and restart application) or otherwise just continue running normally if the update doesn't exist.

The following example, I put an update on the server, etc, but an update check never happens.

Am I missing something?

static class Program { //Update Checker static public wyDay.Controls.AutomaticUpdaterBackend update = new wyDay.Controls.AutomaticUpdaterBackend();

[STAThread] static void Main() { //Enable Windows Stuff Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);

//Check for Updates update.GUID = "21A0D3EC-B8AC-4F9E-A8A2-4CC8ECB34C54"; update.UpdateType = wyDay.Controls.UpdateType.DoNothing; update.ReadyToBeInstalled += update_ReadyToBeInstalled; update.Initialize(); update.AppLoaded(); //Foce Update Check update.ForceCheckForUpdate();

if (!update.ClosingForInstall) { RunApplication(); } }

static void update_ReadyToBeInstalled(object sender, EventArgs e) { if (update.UpdateStepOn == wyDay.Controls.UpdateStepOn.UpdateReadyToInstall) { update.InstallNow(); } }

private static void RunApplication() { BonusSkins.Register(); SkinManager.EnableFormSkins(); UserLookAndFeel.Default.SetSkinStyle("DevExpress Style"); Application.Run(new FormMain()); } }

You shouldn't use ForceCheckForUpdate. The AutomaticUpdater automatically checks for update (hence the name).

Plus, the AutomaticUpdater is designed for asynchronous use. And since you're trying to do synchronous updating you should just use wyUpdate as a standalone updater. See: http://wyday.com/wybuild/help/silent-checking.php