![]() |
NT/2K/XP services installation?
Hi all...
Normally instsrv.exe is used to install a service, but some vers of OS dont come with the utility. So at the mo im including instsrv with my installer, extracting it, installing the service and then deleting instsrv. Is there a better way to install a service? |
You could implement self-registering capabilities to your service like the cygwin-inetd service.
Have a look at the code sample in the last post of this thread. ~ Florian |
The problem is its not my service and i dont have access to the code for it.
The service is the DriverLINX Port95NT driver for direct access to IO ports under NT. |
Anyone?
|
What you could do is check to see if they have the file using IfFileExists and the using nsisdl.dll to download it. Then running it. But sometimes the Startup folder in the Start Menu can run anything on Boot.
Just a suggestion though. -Duane |
Wow! This is a real old thread but unfortunately the only one that refers to instsrv.
I found it in my search for a similar solution. Any news on this since then? (otherwise I will have to do what the OP did: include instsrv with my installer, extract it, install the service and then delete instsrv) Thanks! |
|
Quote:
However, I noticed that you said "my own internal utilities". Does that mean that the license for this utility (which is available only in Microsoft's resource kit) doesn't allow its re-distribution? Quote:
http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin http://nsis.sourceforge.net/Services_plug-in Both seem to allow re-distribution in a commercial (non open source) product. Which of the two would you recommend? |
Quote:
Quote:
|
I would recommend the Simple Service Plugin as I use it myself in many major installations.
Stu |
Quote:
|
|
Quote:
If your recommendation is different than Stu's, please write it here. Thank you again. |
Never needed to use any of those, so I'm with Stu here.
|
| All times are GMT. The time now is 11:54. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.