Archive: nsSCM::Install. How to get error code?


nsSCM::Install. How to get error code?
Hello,

I am using nsSCM to install a service. Sometimes it is failed and I need to know the error code.

According to the doc 'Install' returns only "error/succuss" at $0.
I tryed "Pop $1" and "System::Call "Kernel32::GetLastError() i() .r1"", but it did not work.

How can I get error code, if 'nsSCM::Install' is failed?

Thanks,
Valery.


Use SimpleSC instead.

Stu


thanks.