Update Error (urgent)

I created a new update and is being displayed the following error message:

Error trying to save file: Error downloading "http://wyday.com/files/wyupdate/updates/client.wys": Unable to connect to the remote server

Se eu volto a vers anterior do arquivo wyserver.sys, a pentima atualizao fica disponel...

O que devo fazer? Devo disponibilizar isso atamanhcedo...

I created a new update and is being displayed the following error message:

Error trying to save file: Error downloading "http://wyday.com/files/wyupdate/updates/client.wys": Unable to connect to the remote server

If I go back to previous version of wyserver.sys, the penultimate update is available ...

What should I do? I offer this until tomorrow morning ...

It sounds like you have wyday.com blocked in your firewalls. Or you prevent all external websites.

What's happening is wyUpdate's trying to self-update (i.e. get the latest version of itself). To do this self-updating it needs to download files from either wyday.com or code.google.com (code.google.com is the first listed self-update site).

How to fix this problem:

Does that make sense?

Can I disable the 'self-update'?My clients don't have internet access...

Thank you.

You can't disable the self-updates because they're required for wyUpdate to install updates from newer versions of wyBuild.

Like I said above, if your customers can't connect to the internet then your only option is to host the self-updates somewhere on their LAN or their computers. Reading the "How to make a custom version of wyUpdate" will explain how you go about hosting wyUpdate on your own site (or local computers). You can skip the parts about building your own version of wyUpdate -- just use our version of wyUpdate that's included with wyBuild. However the rest of the article applies.

Hi,

we have the same problem and I was wondering how do we customize the URL in the custom field if it's by project? Because we would like to host it on our clients servers and we don't know the name of the server so is it possible to have something like http://%updatesite%/wyserver.wys? If so how do we give the parameter to the custom field? Also, is the version of wyUpdate.exe is included in the wyserver.wys generated for our application?

I would need an exemple has to how we could workaround the self update of wyUpdate.exe

thanks

Because we would like to host it on our clients servers and we don't know the name of the server so is it possible to have something like http://%updatesite%/wyserver.wys?

This is not yet possible. It's coming soon.

Also, is the version of wyUpdate.exe is included in the wyserver.wys generated for our application?

The wyUpdate version is inside the exe file.

Well it's something we need ASAP, so we will do it in a custom wyUpdate.exe. The modification that we will do is to add the argument seflupdatepath when calling wyUpdate.exe and when calling BeginSelfUpdateDownload() in frmMain.Downloading.DownloadUpdate() we would replace updateFrom.FileSites by the new argument.

Does this make sense?

Sure, something like that would work. We're building in official support for "variable self-update sites" (e.g. using %urlargs%, and %updatepath%) into wyUpdate 2.6.18.

Hi again,

here's what we tried to work around the no internet connection problem.

We did a wyBuild project for wyUpdate with versions 2.6.16.4 and 2.6.16.5 where the update is in assemblyinfo to 2.6.16.5 and we generated the updates files for our custom wyUpdate project.

In our application properites we edited the default self-update server file to a custom one (%updatepath%/wyUpdate/wyserver.wys).

When we call wyUpdate.exe with our parameters (%updatepath%=http://foobar/), it's able to download our wyserver.wys file in the temp folder, but when we click on update, we see in the progress bar "Cancelling update" and then the extraction of our application files.

When we take a look at the updated files, the application files are updated, but wyUpdate.exe is still the old version.

Any hint?

thx

Like I said, we haven't added the support for %updatepath% and %urlargs% to wyUpdate yet. You'll have to wait for wyBuild 2.6.18 or modify the wyUpdate source code yourself.