Getting wyUpdate to Update wyUpdate

Hi

I've been playing with your wyBuild and wyUpdate and must say they are quite powerful tools.

One question though, is it possible to update wyUpdate using wyUpdate?For example if you have a fix in wyUpdate that you want to deploy to your clients before they get a new update or is this handled by wyUpdate itself.

Also, if this is the case, then i shouldn't have to include wyUpdate.exe in the list of files wyBuild puts in the update sets.

Thanks

I've been playing with your wyBuild and wyUpdate and must say they are quite powerful tools.

Thank you.

For example if you have a fix in wyUpdate that you want to deploy to your clients before they get a new update or is this handled by wyUpdate itself.

Also, if this is the case, then i shouldn't have to include wyUpdate.exe in the list of files wyBuild puts in the update sets.

wyUpdate automatically updates itself. Also, you don't have to (and shouldn't) include wyUpdate.exe within your own updates.

...but you should include the client.wyc file in your patch especially if you change your servers or the template for wyupdate.exe. And you should obviously distribute wyupdate.exe initially with your setup file for your project.

...but you should include the client.wyc file in your patch especially if you change your servers or the template for wyupdate.exe. And you should obviously distribute wyupdate.exe initially with your setup file for your project.

Correct on both points.

You should always include the updated client.wyc file. That is, if you update the product or company name, the languages, the theme of wyUpdate, or the download sites, then you should rebuild wyUpdate and include the new client.wyc with your update.

And you should always include the latest wyUpdate.exe with your installer program (along with the latest "client.wyc", of course).

Does wyUpdate update itself from the same location as the "main application" that is updated?

If yes, how do the wyUpdate updates get to that site?

If I update wyBuild, will it include the wyUpdate updates in its output server files or do I have to do anything special?

Thanks.

When you update wyBuild it always comes with the latest wyUpdate. So when you build your installers always re-build wyupdate and include thw "client.wyc" and wyUpdate.exe files.

When your user is updating your program wyUpdate checks for an update to itself by downloading the server site on our server:

[attachment=0]Properties.png[/attachment]

You can specify your own server site if you wish.

We are having a problem with the WyUpdate client and also with an application that is using the .NET control. The problem is getting stuck in the "Extracting" stage It stays for longtime in "Extracting Update". Have this issue been reported before

What version of wyUpdate are you using? (Right click wyUpdate.exe, click Properties, and click the Details tab).Also, what version of the AutomaticUpdater.dll are you using?

Have you tried updating by just running wyUpdate.exe? Does it succeed, or does it give an error?

how create client.wys ? .. I can only create client.wyc

edit : i must create another project to update the wyupdate.exe - client.wyc? and then upload the client.wys and update.wyu.

You only need to create a new project in wyBuild if you want to manage the wyUpdate updates. Otherwise just leave it up to us.

But if you are making custom builds of wyUpdate, then you're correct. Just start a new project in wyBuild. Then add the wyUpdate.exe to the "Your program's folder" in wyBuild.

thanks..

yes its working perfectly..

when wyupdate try update itself ? ... how he know new update availlable ?..

its because i have upload a patch to the program, build with the new version of wybuild?

wyUpdate checks for updates to itself when it tries to update your program. If a new version is available it downloads and installs it before updating your app.

ok, i dont understand everythingi try explain

i have upload a new update, build with new version of wybuild

myproject was unable to update .. the updater trying update itself - error dont find client.wys(i have set my own update site in my package without uploading the client update to my ftp)

after i have upload the client update to my ftpeverything work fine

I want to know how the updater notice there is update (If I do not have upload the updater update on ftp)

my question is ..in this particular casewhy wyupdate try update itself ?-wyupdate know he must update itself because the update he try to download have newer version ?

I want to know how the updater notice there is update (If I do not have upload the updater update on ftp)

my question is ..in this particular casewhy wyupdate try update itself ?-wyupdate know he must update itself because the update he try to download have newer version ?

Ok, now I understand what you're saying. Whenever we release a new version of wyBuild we hardcode the newest version of wyUpdate (e.g. version X). So when you build your updates with the latest version of wyBuild it will mark the updates as requiring at least version "X " of wyUpdate to install the updates.

So when wyUpdate tries to install your updates it will check the server for a new update to itself. If an update to itself is found - whether it's "required" or not - it downloads and installs it before downloading and installing your updates.

If wyUpdate isn't at least version "X", one of 2 things will happen:

  • If wyUpdate requires version X of itself to install your update and the wyUpdate server file or update fails to download or install, then it will show an error.
  • If wyUpdate doesn't require version X and the wyUpdate server file or update fails to download or install, then it will just quietly install the latest version of your app.

thanks for all the information..

was almost too easy to setup update for my app 😉