I'll investigate this and get back to you.
Hi Wyatt.
I'm still facing huge problems with overriding the update path using the -updatepath=... command line argument:
1) I use the Automatic Updater on my main form
2) I programmatically set automaticUpdater1.wyUpdateCommandLine to:
-server="http://www.mysite.com/subfolder/wyserver.wys" -updatepath="http://www.mysite.com/subfolder"
3) In wyBuild I use the following download site:
%updatepath%/%file%
This is the only download site I've added, and it is marked "Both server and update site" (=the default).
When I run my app, checking for updates works very well. It checks my site and it reports that an update is available - everything is fine so far.
The problem arises when my app afterwards calls the automaticUpdater1.InstallNow() method (in response to the user clicking an "install"-button in the form).
Now the InstallNow() method *fails* with the following error description:
"Could not parse the URL "%updatepath%/product.demoreleasea.to.demoreleaseb.wyu" - it's either malformed or is an unknown protocol."
It seems to me that wyUpdate.exe somehow fails to properly expand the %updatepath%-variable with the -updatepath argument from the command line.
I'm pretty sure that I had this to work erlier, however at that time i used an FTP site ("ftp://...") and not "http://...".
Can you tell me what I'm doing wrong?
-Martin.
I'll investigate this and get back to you.
Ok, we'll have this fixed in wyUpdate 2.5.24. This should be out by early next week. Thanks for spotting this, Martin.
Update: wyBuild 2.5.24 should be out by Friday May 28.
Thank you very much, Wyatt - then I can finally get my app going!
Keep up the good work.
-Martin.
Ok, this is fixed in wyUpdate 2.5.24 (out now).
Thanks again for reporting this.