bright, fresh software
Downloads  |  Buy

wyUpdate.exe take too time to run

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is OFF
Smilies are ON
Topic review
   

Expand view Topic review: wyUpdate.exe take too time to run

Re: wyUpdate.exe take too time to run

Post by Madadkhani » May 1st, 2012, 7:29 am

I found the problem.

I should use Build Updates but i used Build wyUpdate!

Thanks.

Re: wyUpdate.exe take too time to run

Post by 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?

Re: wyUpdate.exe take too time to run

Post by 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.

Re: wyUpdate.exe take too time to run

Post by 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."

Re: wyUpdate.exe take too time to run

Post by 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.

Re: wyUpdate.exe take too time to run

Post by 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.

Re: wyUpdate.exe take too time to run

Post by Sam » April 29th, 2012, 4:26 am

When wyUpdate updates itself (that is, when we release a new version of wyUpdate.exe) it gets it from one of those servers. So every time a new version of your app is available one of those sites is checked.

To host wyUpdate on your own servers (or locally on a client's servers) then read this article.


Tell me if that makes sense.

Re: wyUpdate.exe take too time to run

Post by Madadkhani » April 29th, 2012, 4:12 am

i connect a pc to internet & it detect update so quickly, but our client doesn't access to internet. how we can remove checking these address from "wyUpdate"? & why this file check these locations?

Re: wyUpdate.exe take too time to run

Post by Sam » April 29th, 2012, 3:04 am

What are the specs for the computer where wyUpdate is working fast? That is, what are the differences between the fast and the slow computer? Also, what operating systems (fast & slow)?


3. what is outgoing site that i should check it's clock or not. but i know that our update server is not block because it found update after about 1 Min.


Make sure the following sites are unblocked (and fast):

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



If any of these sites is the slow point, then host the wyUpdate self-updates on your own site.

Re: wyUpdate.exe take too time to run

Post by Madadkhani » April 29th, 2012, 2:58 am

1. our server is so powerful & we can download clickOnce Update (50MB) less than 20 Sec but WyUpdate (100Kb) take about 1 Min to check existing of new update

2. we have not configure any proxy to our IE.


3. what is outgoing site that i should check it's clock or not. but i know that our update server is not block because it found update after about 1 Min.

Top