AutomaticUpdater fails on initializingSolved

Hello,

I'm using AutomaticUpdater in our applications for a long time. Now I realized that at some point in the past something went wrong, and I cannot figure out the reason.

I get an exception when I call Initialize(), stating that the file is not found at C:\Users\TamasiZoli\AppData\Roaming\wyUpdate AU\98cf571a-e431-4f24-bc43-3e0389e67291.autoupdate.

I use the following code in my main form's constructor: _updater = new AutomaticUpdaterBackend(); _updater.ReadyToBeInstalled += _updater_ReadyToBeInstalled; _updater.UpToDate += _updater_UpToDate; _updater.UpdateAvailable += _updater_UpdateAvailable; _updater.UpdateSuccessful += _updater_UpdateSuccessful; _updater.UpdateFailed += _updater_UpdateFailed; _updater.CheckingFailed += _updater_CheckingFailed; _updater.DownloadingFailed += _updater_DownloadingFailed; _updater.BeforeChecking += _updater_BeforeChecking; _updater.GUID = Guid.NewGuid().ToString(); _updater.UpdateType = UpdateType.Automatic; _updater.wyUpdateLocation = @"wyUpdate.exe";

and these lines in my form's Load event

_updater.Initialize(); _updater.AppLoaded();

Maybe it has nothing to do about this issue, but I've noticed that after updating my wyBuild sofware to 2.6.17.1, the AutomaticUpdater in its program folder still has the version 2.6.16.

Thank you for any help,Zolt

I'm going to need the exact exception in order to help you. Also, why are you using the following line:

_updater.GUID = Guid.NewGuid().ToString();

This defeats the purpose of the AutomaticUpdater. Either generate the GUID once and set it, or use something like "yourcompany-yourapp".

Hello,

thank you for the quick response. I changed the line which you've mentioned to some constant string, and the problem disappeared. That line was surely some very early mistake from me (as I remember I got it from some sample code and copied it without thinking of its meaning).

However, it is interesting because that particular line had been there for ages in both of our apps, and everything worked fine till nowadays.

Anyway, thank you for your help.Best regards,Zoltan