bright, fresh software
Downloads  |  Buy

wyUpdate.exe take too time to run

Re: wyUpdate.exe take too time to run

Postby Madadkhani » April 29th, 2012, 5:53 am

i download wyUpdate source code, but can't find any line that check this Addresses:

http://wyupdate.googlecode.com/files/client.wys
http://wyday.com/files/wyupdate/updates/client.wys
http://wyupdate.googlecode.com/files/client.net4.wys
http://wyday.com/files/wyupdate/updates/client.net4.wys


can you help me to find "source code specific places" that check above internet addresses.
Madadkhani
 
Posts: 15
Joined: April 29th, 2012, 1:46 am

Re: wyUpdate.exe take too time to run

Postby Sam » April 29th, 2012, 2:55 pm

These are the self-update addresses, they're embedded in the client.wyc file. Read this article to learn more about self-updates and how you can specify your own self-update address.
User avatar
Sam
 
Posts: 1986
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: wyUpdate.exe take too time to run

Postby Madadkhani » April 30th, 2012, 11:37 pm

i use custom version of wyUpdate according to article & speed of Checking new update is so quickly now. Thanks.
but when I run my custom wyUpdate It Show an error with this title.
"Object reference not set to an instance of an object."
Madadkhani
 
Posts: 15
Joined: April 29th, 2012, 1:46 am

Re: wyUpdate.exe take too time to run

Postby Sam » May 1st, 2012, 5:59 am

I would advise you to use our pre-built wyUpdate.exe files rather than modifying the source code. Modifying the source code is harder than it looks.
User avatar
Sam
 
Posts: 1986
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: wyUpdate.exe take too time to run

Postby Madadkhani » May 1st, 2012, 7:20 am

But I need to change wyUpdate.exe update location.

i open wyUpdate project & Build it.
then use generated wyUpdate.exe in a WyBuild Project according the custom version of wyUpdate and nothing more, but it show ""Object reference not set to an instance of an object." error.

i don't customize wyUpdate project & just build it. where is the Problem?
Madadkhani
 
Posts: 15
Joined: April 29th, 2012, 1:46 am

Re: wyUpdate.exe take too time to run

Postby Madadkhani » May 1st, 2012, 7:29 am

I found the problem.

I should use Build Updates but i used Build wyUpdate!

Thanks.
Madadkhani
 
Posts: 15
Joined: April 29th, 2012, 1:46 am

Previous

Return to wyBuild, wyUpdate, & AutomaticUpdater Support