Cannot update application after declining UAC & closing app

When closing the app after declining the UAC prompt, a new check for updates will get stuck on 'checking for updates'.

Repro steps:1. Check for updates in user application, using the automatic updater control.2. Install updates via the control's menu.3. When UAC prompt comes up during wyupdate, decline.4. Close the user application.5. Restart the application and check for updates.6. Control reports 'Checking for updates' ad infinitum.

Clearing the cache data found in "c:\users\myaccountname\wc" solves the problem. The clearing of the cache is not needed if you re-check for updates withing the same user application session.Obviously this is a potential support issue for us.

We're using 2.6.7.

I'll check into this. I'll get back to you.

I can't reproduce this. When I click cancel on the UAC box the application is relaunched with with an error saying it could not elevate.

When you say "3. When UAC prompt comes up during wyupdate, decline.4. Close the user application."

Are you running your app when the wyUpdate UAC prompt comes up? How are you doing this?

Typically, when you click "Install now" your app closes immediately and the wyUpdate shows itself and either begins updating or request elevation.

Also, can you give me an example project that reproduces this behavior? (Send it to support@wyday.com)

When you say "3. When UAC prompt comes up during wyupdate, decline.4. Close the user application."

Are you running your app when the wyUpdate UAC prompt comes up? How are you doing this?

The app is closed, when the UAC comes up. Step 4 is for when the UAC/updater has come back to the app.

Typically, when you click "Install now" your app closes immediately and the wyUpdate shows itself and either begins updating or request elevation.

Yes - that's what happens.

Also, can you give me an example project that reproduces this behavior? (Send it to support@wyday.com)

At the time of posting I was able to successfully repeat this multiple times, but I haven't been able to repeat it since. Perhaps something wasn't quite kosher on my dev box. I'll keep an eye out for it and see I can get a proper repro.

I've got exactly the same problem :

1. Check for updates in user application, using the automatic updater control.2. Install updates via the control's menu.3. When UAC prompt comes up during wyupdate, decline.4. Close the user application.5. Restart the application and check for updates.6. Control reports 'Checking for updates' ad infinitum.

At step 5 : when the application restart, I am notified that previous update failed.I recheck for update with AutomaticUpdaterBackend.ForceCheckForUpdate(true)

If I set the parameter to false, all is right. But with true, the updateStatus never change !

What versions of wyUpdate / AutomaticUpdater are you using? Also, are you using custom versions of wyUpdate or AutomaticUpdater?

I don't use custom versions.I Use wyUpdate 2.6.18.4and AutomaticUpdater 2.6.18.4

Try not call ForceCheckForUpdate. Let the AutomaticUpdater do it's job and check for updates automatically. Also, handle all events. You might be ignoring one that's telling you what's going wrong.