Exit Codes

Hello,

I'm creating my own 'homegrown' installer for the initial deployment of files by creating an initial blank 'not installed' update in wyBuild and copying the created client.wyc and wyUpdate.exe to the empty installation location. I then launch wyUpdate.exe (as a process from my installer) in the install location to get the 'next version' (which includes all my files) from my ftp site. This works really well and does all the hard work for me.

When wyUpdate completes I evaluate the exit code to ensure the update was successful. I didn't find a list of exit codes and was wondering if you have one?

At the moment I am looking for:

0 - Update was successful3 - User cancellation

Is this correct?

Thanks,

Mike

Hey Mike,

We need to improve the documentation. You can find the error codes in various help documents, but we don't have a centralized place. So here's the list of the current SVN tree version of wyUpdate:

Possible return codes:

0 = Success / no updates found 1 = General error 2 = Updates found 3 = Update process cancelled 4 = wyUpdate exited immediately to focus another wyUpdate instance