wyUpdate.exe take too time to run

hi i use wyBuild & Configure it to update my software. it update too fast in my computer but in others computer it take too time to run wyUpdate.exe & also check to find that it is a current version or not?

i use windows XP & check it in other windows XP , Wndows 7 but it's so slowly to show it's interface.

Well, I need a bit more information to help you. For instance, what are the specs for the computers that run wyUpdate slowy? Also, are these computers heavily loaded (high CPU and/or RAM usage)?

no the computes i use as a test environment have 2GB Ram With Free more than 1GB & 3.2 MHz CPU that have 1% load.

You're not running on a virtual machine (Virtual PC, VMWare, etc.) or anything? Is wyUpdate being slow for you on Windows XP or Windows 7?

no i use a real pc. i download wyUpdate.exe source from your site it run too fast on our PCs but i take too long to check if a new version is available or not.

Oh, ok, now I understand. The checking process is taking long for you but the updating process is going fast.

This can be caused by many things:

  1. Your servers are slow.
  2. The proxies on your computer are misconfigured (thus wyUpdate takes a long time to try the sites again without the proxies).
  3. You're blocking some outgoing sites or all outgoing sites in your firewall. Or you're just blocking wyday.com in your firewall.

There are other causes. But you should check all of those things.

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.

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.wyshttp://wyday.com/files/wyupdate/updates/client.wyshttp://wyupdate.googlecode.com/files/client.net4.wyshttp://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.

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?

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.

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

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

can you help me to find "source code specific places" that check above internet addresses.

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.

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

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.

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?

I found the problem.

I should use Build Updates but i used Build wyUpdate!

Thanks.