Self-update server location

I want to control wyUpdate self updating itself by pointing it to my own server, like what is covered here - http://wyday.com/wybuild/help/custom-wyupdate-version.php

I have a couple of questions:

1. I want to override the self update server location from the command line like I currently do for the application update using server/updatepath, but I don't see any command line options that cover it. Is there a command line option? If there isn't one could you add it?

2. What happens if wyUpdate.exe tries to get its self update wys file from the server but gets a 404 or some other error? Will it still function correctly?

1. I want to override the self update server location from the command line like I currently do for the application update using server/updatepath, but I don't see any command line options that cover it. Is there a command line option? If there isn't one could you add it?

You can use updatepath & urlargs.

2. What happens if wyUpdate.exe tries to get its self update wys file from the server but gets a 404 or some other error? Will it still function correctly?

It depends. If the new wyUpdate version is required to install the update, then wyUpdate will show an error if it can't self-update. If wyUpdate doesn't *require* a self-update to continue with the main update then it won't complain if there's an error.

> You can use updatepath & urlargs.

So they apply to the self updates as well? The wyUpdate.exe documentation says that those are only used to effect the download site variable - http://wyday.com/wybuild/help/wyupdate-commandline.php#updatepath

Also the impression I got from the custom updates page I linked to above is that wyUpdate.exe will attempt to update itself when an update happens, and when I call wyUpdate.exe I have those arguments pointing to the location of my application update files on the server. Does that mean I need to have the wys and wyu files for the wyUpdate.exe update at the same location as my application update files?

Also, if they do apply to self updates then do they completely override the server location set in Properties -> wyUpdate?

> It depends. If the new wyUpdate version is required to install the update, then wyUpdate will show an error if it can't self-update. If wyUpdate doesn't *require* a self-update to continue with the main update then it won't complain if there's an error.

What determines whether an update is required?

So they apply to the self updates as well?

Yes.

Does that mean I need to have the wys and wyu files for the wyUpdate.exe update at the same location as my application update files?

If you want to use those variables, then yes.

Also, if they do apply to self updates then do they override the server location set in Properties -> wyUpdate?

That's where you put the variables (at least for the *.wys file).

What determines whether an update is required?

See When wyUpdate self-updates. wyBuild sets the minimum wyUpdate version required.

How can I enable logging to see where wyupdate.exe is looking to self update itself? I'm using it via the AutomaticUpdaterBackend control.

Just double click the client.wyc file. It will list the self update sites used.

I mean I want to see what self update site is queried when it happens. I'm using command line arguments mentioned above that I've been told override that value and I'd like to be sure about where it is trying to update itself from.

"How can I enable logging to see where wyupdate.exe is looking to self update itself? I'm using it via the AutomaticUpdaterBackend control."

There's no logging for the self-update site, sorry.