I need a command line tool that will install a service for Win2K. I cannot get windows installer to install via the enviroment table as it is a device driver. I can install with SRVINSTW.EXE as it is a GUI program and cannot be used in a command line. Any advice would be appreciated.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I prefer the resource kit's XNET utility. It provides some really good control. I'm sure there are several, but this has always been my favorite. It is actually bundled with KiXtart (when you unzip, it has its own directory) which you can download at http://www.kixscripts.com.
Answered 09/10/2003 by: bkelly
Red Belt

Please log in to comment
0
Unfortunately XNet won't do what i need either. The service i am installing points to clkdrv.sys and when you use SRVINSTW to install you get the choice of which type of service you wish to install, service in its own process, file system driver or device driver. If you choose device driver the service will install and work. When you use XNet to install, it will install but when you try and start the service you get the message system error 129 has occurred. The *** application cannot be run in win32 mode. Ideally a command line tool that has as many options as SRVINSTW would be ideal. Any more help would be really appreciated.
Answered 09/13/2003 by: JohnM
Senior Yellow Belt

Please log in to comment
0
Have you had a good look at the Instsrv.exe or SC.exe resource kit tools? I've looked around, and I don't see much else out there in the way of command line support.
Answered 09/13/2003 by: bkelly
Red Belt

Please log in to comment
0
You leave out another part if instsrv.exe, that is srvany.exe, both are part of the resource kit, can be found on the net, that is the only way to install an service via the commandline, do not forget to make registry settings later on.

http://www.tburke.net/info/reskittools/topics/instsrv_syntax.htm
Answered 10/01/2003 by: Alim
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity