How to Silently Check for Updates
Use the AutomaticUpdater control
If you have a .NET application (C#, VB.NET, etc.) then you can add fully integrated automatic updating to your app. You can silently check for updaters, download them, and install the updates without bothering your users. Learn more about the automatic updater here.
Silently Checking without using the AutomaticUpdater control
If you don't want to use the AutomaticUpdater control (or can't because your app isn't a .NET app) you can still silently check for updates.
To silently check for updates all you need to do is run wyUpdate with the "-quickcheck" switch:
wyupdate.exe -quickcheck
wyUpdate will start hidden, and only show itself if there are updates available. Otherwise it will silently close itself and return 0.
Errors
wyUpdate shows itself if an error occurs while returning 1 on exit. You can suppress the error by passing the "-noerr" commandline switch:
wyupdate.exe -quickcheck -noerr
Silently return on new updates
You can also choose to keep wyUpdate completely silent even if new updates are found:
wyupdate.exe -quickcheck -justcheck -noerr
wyUpdate will return 0 if no updates are found, 1 if an error occurred, and 2 if there are updates available.