bright, fresh software
Downloads  |  Buy

WyUpdate is trying to update itself, crashes the main update

WyUpdate is trying to update itself, crashes the main update

Postby nigor » March 1st, 2012, 11:33 am

We had a production build last night. I am using 2.6.14 version of WyBuild/Automatic updatater.

.NET 2.0 WinForms app.

I had an update prepared to go a week ago. Last night we promoted the updated and it looked like WyUpdate was launching twice, either in sequence or in parallel, hard to tell. Our update package is only ~100kb, so things happen very fast.

After an investigation I realized why - the updater tries to update itself to 2.6.16!

If I look at client.wyc file I see two urls, one i put in, the other I did not - http://wyday.com/files/wyupdate/updates/client.wys

Please help,

Thank You!
nigor
 
Posts: 2
Joined: March 1st, 2012, 11:24 am

Re: WyUpdate is trying to update itself, crashes the main update

Postby Sam » March 1st, 2012, 11:45 am

wyUpdate is self-updating. I need more information. What was the crash? Give me the full error. Also, can you reproduce this crash?

Can you send us a copy of your "old" version that you tested the update to? Send it (or a link to it) to support@wyday.com.
User avatar
Sam
 
Posts: 1984
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: WyUpdate is trying to update itself, crashes the main update

Postby nigor » March 5th, 2012, 2:58 pm

Turns out that I was calling MainForm.Close() on a form that was already null somewhere towards the end of the application's life cycle. That exception thew the update off. I added the null check and all's good now.
nigor
 
Posts: 2
Joined: March 1st, 2012, 11:24 am


Return to wyBuild, wyUpdate, & AutomaticUpdater Support