hi,dear all:
can you have some experience in install SERVICE_WIN32_OWN_PROCESS service
by addservice in inf file.I have try to do this,but have some problem.
I attempt to install a ServiceTye=10(SERVICE_WIN32_OWN_PROCESS) for my
service in a miniport driver’s inf(I want to add some additional service
for other purpose),a parameter error will occur before complete install
miniport driver if I set servicetype=10,but I can install
SERVICE_KERNEL_DRIVER service smoothly if I set servicetype=1.
here is my service section and model(for win2000) :
[MyDDInstall.NT.Services]
AddService = MyServiceName, 2,MyService.Service,product.EventLog
[MyService.Service]
DisplayName = “display name”
ServiceType = 10 ; SERVICE_WIN32_OWN_PROCESS
StartType = 2 ; SERVICE_AUTO_START
ErrorControl = 1 ; %SERVICE_ERROR_NORMAL%
DerviceBinary = %12%\service.exe
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com