wyUpdate process hangs

Hi,

We are using version 2.6.18.4 of AutomaticUpdater.dll and wyUpdate.exe. Our project consists of two console applications: a Runner and an Updater. Both are executed by a scheduled task. The Runner is executed every 5 minutes. The Updater is executed once a day and obtains updates from Amazon S3. A mutex is used to prevent Runner and Updater getting in each others way.

For some reason, the Updater is not behaving as it should and rather erratically. When it fails, the Task Manager shows a running wyUpdate process which appears to hang.

I'm quite sure something is wrong with the Updater logic. Can you give us any clues what to look for?

Regards,Pieter-Jan de Vries

It sounds like you're trying to run wyUpdate without a UI. Only do that from a service and do it like this: https://wyday.com/wybuild/help/silent-update-windows-service.php

Don't run wyUpdate UI-less from a non-elevated, non-service (LocalSystem) account.

Hi Wyatt,

Thanks for the reply and yes, we're running wyUpdate without a UI. Automatic and unattended updating is our objective. Not from a service, but from a plain console application, executed by a scheduled task. That task is running as SYSTEM. So I guess it should work. What am I missing here?

Regards,Pieter-Jan de Vries

Hi Wyatt,

We're still struggling. Some advice and help would be very much appreciated.

Regards,Pieter-Jan de Vries

There are no guarantees it will work from a scheduled executable (we haven't tested it). Just use a Windows Service with system permission, and just use the wyUpdate.exe without the AutomaticUpdater.dll (it's easy to mis-use the AutomaticUpdater.dll file).