Good afternoon wybuild team, maybe you would be able to help me with a problem I am having. I am trying to add a piece that allows users to choose to update from a local update file that they were emailed or sent on a disk (*.wyu). When I use the command line parameters and use the -updatepath switch (my wybuild.exe was build using %updatepath%/%file%) it wants the .wys server file and not the .wyu update file I would like to send. I am using the following to call the update:
UpdateFromLocal("C:\\Updates\testupdate.1.0.to.1.1.wyu");
public void UpdateFromLocal(string filePath) //.wyu file path { Initialize(UpdateType.Automatic); string commandLineParameter = string.Format("wyUpdate.exe -updatepath=\"{0}\"", filePath); _automaticUpdaterBackend.wyUpdateCommandline = commandLineParameter ; _automaticUpdaterBackend.ForceCheckForUpdate(); }
Would you be able to show me the proper way of doing this? In the end I am hoping to just send a .wyu file to the customers who can't use the internet while the rest of the users can update like usual from our server.
Thank you,