AutomaticUpdater.dll 2.6.11.2 works, latest version doesn't

Turns out I had linked the AutomaticUpdater.dll outside of the Program Files folder and so it hasn't been updated since 2.6.11.2 (early 2011).

I updated it to the latest version and my app would no longer check for updates. It gets the "exited prematurely" error. I had an older copy from mid 2011 and that version didn't work either.

I am doing some weird things in that I hide the form that the update is on so I can provide my own interface for the update tool, but even when stepping though the code and making that form visible again the error was still present.

I did create a brand new app and added the latest build to that and it worked, so it's clearly something I've done that's different.

Any thoughts on why the old version worked and the new version doesn't? (and I'm not providing much info)

(all of this tested with the latest version of wyUpdate.exe)

And perhaps the more important question... is there any critical reason to upgrade to the latest version of AutomaticUpdater.dll if the old version (2.6.11.2) works?

, edited

Hey Dan,

You're not just copy & pasting the new version are you? You're rebuilding your app with the latest version, correct?

What happens when you run your app in a debugger.

No... it's a full rebuild. I must have spent at least 2 hours on this trying various combinations.

And to be clear... the app runs, but the update check fails. I stepped through the code and can't see that anything unusual is going on.

But since the wyUpdate.exe is updated, is there any 'danger' in using the older AutomaticUpdater.dll ?

but the update check fails.

What do you mean "fails". Do you have an exception? Or is there an error event. Can you cop & paste the error in full?

But since the wyUpdate.exe is updated, is there any 'danger' in using the older AutomaticUpdater.dll ?

There are a number of bugfixes on the latest AutomaticUpdater. We don't recommend using the old version.

The BeforeChecking event is called, then CheckingFailed is called with this error:"wyUpdate exited prematurely""wyUpdate ended before the current update step could be completed."

What version of wyUpdate do you have included in the same folder as your app? (Right click, Properties, Details tab)

Also, what happens when you double click wyUpdate.exe?

Running wyUpdate works. It reports that the latest version is already installed.

It is version: 2.6.18.4

I can't for the life of me figure out why you're getting this error. Can you reproduce this in another test app?