INF DDInstall.Services Section
2012-04-30 08:58 java20130722 阅读(267) 评论(0) 编辑 收藏 举报INF DDInstall.Services Section
[install-section-name.Services] |
[install-section-name.nt.Services] |
[install-section-name.ntx86.Services] |
[install-section-name.ntia64.Services] | (Windows XP and later versions of Windows)
[install-section-name.ntamd64.Services] (Windows XP and later versions of Windows)
AddService=ServiceName,[flags]service-install-section
[,event-log-install-section[,[EventLogType][,EventName]]]...]
[DelService=ServiceName[,[flags][,[EventLogType][,EventName]]]]...
[Include=filename.inf[,filename2.inf]...]
[Needs=inf-section-name[,inf-section-name]...]
描述:每个per-ModelsDDInstall.Services Section还有若干条AddService指令。这些指令含有自定义的命名区域(INF-writer-defined sections)。
AddService=ServiceName,[flags],service-install-section
[,event-log-install-section[,[EventLogType][,EventName]]]...
该项是添加服务指令,详情请看: INF AddService Directive 。
DelService=ServiceName[,[flags][,[EventLogType][,EventName]]]...
该项是删除在系统中创建的服务。详情请看: INF DelService Directive
Include=filename.inf[,filename2.inf]...
Needs=inf-section-name[,inf-section-name]...
不解释了。详情请看:Specifying the Source and Target Locations for Device Files