wyUpdate twice - fails the 2nd time...

Good afternoon,

We use wyUpdate to check for two update sources. That is the application itself and the configuration data; which is in a separate directory and has it's own .wyc file etc.This works for one PC fine; you see two checks using the auto-updater control; one after the other. Also works to bring down new updates ok (both application and configuration data, or either); in fact excellent.

However on another PC we get this:2013/Jul/12 14:45:59:94466 Auto update user start* shows us it's been manually triggered from a menu *2013/Jul/12 14:45:59:94466 Auto update configuring for application* tells us it's run the code that sets up all the auto-update info for the application *2013/Jul/12 14:45:59:94466 Auto update from menu* confirming things 🙂 *2013/Jul/12 14:45:59:94466 Auto update starting* just before calling ForceCheckForUpdate(true) *2013/Jul/12 14:45:59:94466 Auto update autoUpdate_BeforeChecking* event on the auto-update control *2013/Jul/12 14:46:01:29452 Auto update autoUpdate_UpToDate* event on the auto-update control ** here we use BeginInvoke to start again; for the configuration data *2013/Jul/12 14:46:01:29452 Auto update configuring for config data* so, reconfigured */2013/Jul/12 14:46:01:29452 Auto update from menu* confirming things 🙂 *2013/Jul/12 14:46:01:29452 Auto update starting* just before calling ForceCheckForUpdate(true) *2013/Jul/12 14:46:01:29452 Auto update autoUpdate_BeforeChecking* event on the auto-update control *2013/Jul/12 14:46:01:34052 Auto update autoUpdate_CheckingFailed* event on the auto-update control *2013/Jul/12 14:46:01:34052 wyUpdate exited prematurely2013/Jul/12 14:46:01:34052 wyUpdate ended before the current update step could be completed.* that's the error text *

So: is this a PC "speed" issue? Is one PC allowing something to close properly; then reusing it; and the other (failing) PC not? Should we wait longer between the checks (why???) or call some other fn to ensure the automatic updater is 'reset' ready for reuse?

Ta!

Dr. Michael Dye

P.S. (!) there are separate wyUpdate.exe's involved too - the wyUpdate location is set differently each time.P.P.S. V2.6.18.4 (wyUpdates and auto updater DLL)

I'm a little bit confused. Are you using 2 automaticUpdater controls in 1 app? Also, make sure in your 2 separate wyBuild projects the wyUpdate GUID is different (File -> Properties -> wyUpdate).

Evening Wyatt,

Thanks for the feedback.

We have a single auto-updater control. We were intending to "simply" remap all it's settings: for the application and for the configuration data. We wanted to do one then the other...

The application has its own .wyc file and wyUpdate.exe. The configuration data has its own .wyc file and wyUpdate.exe (sub-directory).

The wyBuild for the two have separate GUIDs.

Does the wyBuild GUID have to match the auto-updater GUID?

I notice you can't change the auto-update GUID at run time?

I guess we should use two separate auto-updaters with different GUIDs?

Thanks,

Dr. Michael Dye.