What are the codes that are returned from Setup.exe?
We do not use any special error codes from setup.exe, just the standard ones.
0 if the setup.exe ends correctly,
1 if it does not, or maybe a windows error if something fails.
The above link gives a list of possible windows error codes. More may be found at Microsoft.com by searching there for the relevant error code that you wish to find.