Hi Arie,

In most cases, we follow the Microsoft return codes. I think that quite a few developers are using the %_SB_ERRORCODE% variable to see if a function succeeded or not. Where possible, the value returns a system error code.

For example, in the "Edit Service" function:

- If the function succeeds, the %_SB_ERRORCODE% return value is zero.
- If the function fails, the return value is a system error code.

We'll do the same in the "Create File Association" function where the error code is always "0" (not handled at all) at the moment.

In SetupBuilder 8, we'll introduce a new %_SB_LASTERRORCODE% variable for some functions to retrieve the last returned system error code.

Friedrich