Hi Gerhard, On Fri, 1 Apr 2005, Gerhard Hofmann wrote:
> Hi all, > > I try to install a service with instsrv.exe from Windows Resource Kit. > > usage > instsrv.exe ServiceName c:\myprog\myprog.exe > works. Problem: the service needs some parameters. I tried > instsrv.exe ServiceName "c:\myprog\myprog.exe -myparam1 -myparam2" > and this won't work. > > instsrv.exe takes the whole expression as a file name and says > unable to find the file at the given path > > Any ideas? > > TIA > Gerhard parameters to services are in the registry, so you have to change the registry. The key is something like "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName". Navigate to the Parameters subkey. If there isn't one, you have to create it. There is a tool in the resourcekit which will do this, see "http://support.microsoft.com/?kbid=251192" Regards Stefan Kell ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info
