That's because when you launch UI apps from the command prompt you have to wait for the UI to finish to actually read the error code. See: http://stackoverflow.com/a/11476681/124805
I am running wyBuild v2.6.18.4. When I run wyUpdate.exe with the GUI I get prompted to upgrade to v1.1 of my app. When I run wyupdate.exe with the command line flags to check for an update the exit code is always 0. Interestingly though, the outputinfo log shows there is an update. Am I missing something?
C:\updater>wyUpdate.exe /outputinfo="up.log" /justcheck /quickcheck /noerr
C:\updater>echo %ERRORLEVEL%0
C:\updater>type up.log1.1Test
That's because when you launch UI apps from the command prompt you have to wait for the UI to finish to actually read the error code. See: http://stackoverflow.com/a/11476681/124805