You can add services to a machine with a Services section. Services can be removed by including a DelService entry in the Services section.
[install-section-name.Services] AddService=ServiceName,flag,service-install-section-name[,event-log-install-section-name] DelService=ServiceName
The following example shows a typical Services section:
[Ser_Inst.Services] AddService = sermouse, 0x00000002, sermouse_Service_Inst, sermouse_EventLog_Inst AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst