dgrinberg
19th August 2009 08:09 UTC
nsSCM - error installing service
Hi,
I am getting an error when trying to install a new Windows service using the NSIS plugin nsSCM.
nsSCM::Install returns an error code of '6', which I believe is ERROR_INVALID_HANDLE (but I could be wrong).
The interesting thing is that this error is only occuring on 1 of our test environments. It has worked successfully in a number of other environments.
Offending System: Windows 2000, SP4
There is nothing in the Event Log, and I am getting no other error message.
Has anybody seen an error like this previously?
What else could I check?
Any help would be greatly appreciated.
Thanks
David Grinberg
kichik
19th August 2009 09:17 UTC
Do you have any other Windows 2000 machines in your pool? Maybe it's an incompatibility with it.
dgrinberg
20th August 2009 00:55 UTC
Good point!!
I have tried it on a completely brand new Windows 2000 VM. I got the same error.
It would seem to me that the plugin nsSCM is not compatible with Windows 2000.
Are there any other methods for installing a Windows Service??
kichik
20th August 2009 09:00 UTC
There's a FAQ item with a list of them:
http://nsis.sourceforge.net/How_do_I...heck_a_service
dgrinberg
8th February 2010 02:42 UTC
Just a quick update...
After kichik's prompting, I updated my installer to use the SimpleSC plugin and have not had an issues since.
Thanks kichik!!