Scripting Question


09/10/2003 10170 views
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


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

All Answers

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

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

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

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.

Answered 10/01/2003 by: Alim
Senior Yellow Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ