MSI database uses two tables ServiceControl and ServiceInstall.
This two tables I fill before, after that create component and feature,
add file with automation interface with same component name (SRV0).
Here is contents of this tables:
ServiceControl table
ServiceControl SRVC1
Name MyService
Event 161
Arguments -r
Wait 0
Component SRV0
ServiceInstall table
ServiceInstall SRV1
Name MyService
DisplayName MyService
ServiceType 16
StartType 2
ErrorControl 3
Arguments -r
Component SRV0
Other fields I leave blank.
The problem, that in installation time service not registered with error:
StartServices: Service: MyService
Error 1920. Service 'MyService' (MyService) failed to start. Verify that you have sufficient privileges to start system services.
Therefore service not listed in Service Control list.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Problem with privileges for NT Service
Started by
AntonS
, Jul 29 2004 14:15
1 reply to this topic