updating wyupdate.exe on lan

Hello,

I am using wyupdate on a LAN i.e. there is no internet access. I have been successfully distributing patches by calling the wyupdate.exe from my application. But wyBuild has updated recently and now the version of wyupdate.exe has incremented, and it seems to want to download a new version of wyupdate.exe from the internet before it can apply my patch; this is not possible because I have no internet access.

How can I get wyupdate.exe to update from my LAN rather than attempt to access the internet.

Regards,

Gerry

Hey Gerry,

See the How to make a custom version of wyUpdate article. Just skip the part about compiling your own version of wyUpdate -- you can just use the latest version of wyUpdate included with wyBuild. The rest of the article will tell you how to host the wyUpdate self-updates on your own servers.

Tell me if this helps.

Hello,

Thanks for the info; it looks pretty straightforward.

Are there any plans, or reasons why, not to make the update location of the wyupdate.exe soft?

i.e. be able to pass it as a command line variable to the exe, or put it in the "download sites" section of wybuild.

Regards,

Gerry

Are there any plans, or reasons why, not to make the update location of the wyupdate.exe soft?

Yes, use the %updatepath% variable for an "update only site" along with the -updatepath commandline argument.

For example, add the download site "%updatepath%/%file%" and start wyUpdate with -updatepath="http://yoursite.com".

You can also override the server file site. Just use -server="http://yoursite.com/full/location/to/server.wys".

Sam,

I should have read the help a little more carefully, its all there 🙂

Thanks for your help,

Gerry