Maarten,

Unfortunately, there is no screenshot. But quick question: why don't you use the standard Windows way to retrieve the return code? There is absolutely no need to "wite" the return value to an INI file. In Windows, you execute (e.g. using the ShellExecuteEx or CreateProcess APIs) an application, wait for its termination and then you retrieve the exit code.

BTW, if you have the wupdate.ini with the required proxy login information in your wucheck.exe folder then the client makes use of this information (see Lines 101 - 104 in the wucheck.sb8 project file).

Friedrich