Yes, use the updatepath variable and the -updatepath commandline option for wyUpdate. (Also see -urlargs="<string>" and -server="<url>").
Using wyUpdate or AutomaticUpdater, is there a way to programmatically determine where we download the update from?I want different users to get different updates from different folder locations on the web.
Yes, use the updatepath variable and the -updatepath commandline option for wyUpdate. (Also see -urlargs="<string>" and -server="<url>").
Thanks you.However, using your solution, the AutomaticUpdater control doesn't work anymore. It looks for updates at %updatepath%/%file% because we dont pass the correct path to the control but to the wyUpdate.exe.
If we don't use the control, we are left with calling wyUpdate .exe each time the program starts, which just doesnt look right, with the extra popup window. I want the wyUpdate window to run only if there are updates to install.
Is there a way to programmatically pass the location path to the AutomaticUpdater? The control will check for updates and if there are updates, then we call wyUpdate.exe.
If not, can you suggest another way to solve this issue?
Thanks a lot in advance.
If you scroll to the top of that page you can see an example passing arguments to wyUpdate using the AutomaticUpdater. See:
au.wyUpdateCommandline = "-cdata=\"C:\\Location\\To\\client.wyc\"";