Hey Steve,
What version of wyUpdate.exe and the AutomaticUpdater was your old version using? Then what version of the AutomaticUpdater was your new version using?
Can you consistently reproduce this?
Hi there,
I haven't run the WyBuild app for a while, so when I fired it up recently it ran through an update. It downloaded the latest version ok and said it would install on next startup.
It ran through the installer but seemed to fail at the end with the following error dialog:wyUpdateAn error occurredClient file failed to load. The client.wyc file might be corrupt.On show details:Could not find file c:\Users\Steve\wc\f\selfUpdate.sup
Although I got this error it seems that the software update was installed ok.
I carried on and added an update to my app as usual and loaded it on to the server.
When I ran my app and invoked the update, it downloaded fine and said it would install on next restart. But when it did, it looks like it ran the update for the wyUpdate also during this time and subsequently showed the same error message as above. I then ran my app and it only partially loads because I think it still thinks it hasn't finished the update. Closing it down and restarting one more time however launches it without problem and the update to my app has happened.
Any ideas to why the self updating wyUpdater is causing the error?Could it be I'm missing a setting or permission somewhere? Although the update happens it obviously doesn't look too good with the error and them having to restart a couple of times after the update.I've tested this on a couple of Win 7 machines, both act the same.
Very many thanks for any help you may be able to provide.
Hey Steve,
What version of wyUpdate.exe and the AutomaticUpdater was your old version using? Then what version of the AutomaticUpdater was your new version using?
Can you consistently reproduce this?
Hi Sam,
Many thanks for your response.
The pre updated version used the following:AutomaticUpdater.dll - 2.6.14.0 (25/05/2011)wyUpdate.exe - 2.6.14.0 (25/05/2011)
The post updated version uses the following:AutomaticUpdater.dll - 2.6.14.0 (25/05/2011)wyUpdate.exe - 2.6.16.4 (03/03/2012)
I didn't update the AutomaticUpdater.dll during this last update, do I need to do this when a new update of the wyUpdate.exe is released?
A colleague of mine has run the update on a different machine in a different location and has seen the same error when running the update. Please let me know if there is any further info I can provide.
Best regards,
Steve
Hi Sam,
Any further thoughts on this?
It appears the cause is that wyUpdate updates itself because your newer version is available. During this process it can't find the selfUpdate.sup file and throws up the error dialog.
My other updates have worked perfectly, when the wyUpdate hasn't needed to update itself.
This has happened in the past, when there was a previous update to wyUpdate. I hadn't realised that this was the cause and I built a new installer for my app (with the new wyUpdate.exe) and since then it has been fine. Until this latest new version.
From my previous post, does the AutomaticUpdater.dll need to have a new version in my app when an update occurrs for wyUpdate?
I can't find any other references to this problem in the forum so it must be something I'm doing wrong.
Many thanks,
Steve
We're not having any luck reproducing the problem here. Can you put together a simple app that reproduces this problem, then we can take a look at it?
Many thanks Wyatt.
I'll see if I can knock up something simple with the same versions of files and see if it will recreate the problem during update.
Do you have a support email address I can get it to you (If I'm successful!)?
You can send it directly to me: wyatt@wyday.com.