Pre-Installation custom script status error message

Pre-Installation custom script status error message

Dear all,

I am using several Powershell-Scripts as Pre-Installation Activities for a software deployment.
The scripts run fine and results in an error code 1 if failed.
DesktopCentral translates this error code in a windows sytem error code and return a "Incorrect function", instead of error code 1. ( 1 (0x1) --> Incorrect function, see  https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-)
Is it possible to change this behaviour, e.g. return the actual error code?
It took me a while to understand what was going on - as this might also affect other members of our IT team - returning the actual error code or even better, some sort of alias or custom error message would be really cool.

Thanks a lot,

best regards
Karsten



                New to ADSelfService Plus?