Skip to content

Service\_Create

Creates Windows Service using the specified options

Service_Create(sServiceName, sDisplayName, sBinPath) As Boolean

sServiceName (String)

Name of service

sDisplayName (String)

Name showed on service-list

sBinPath (String)

Path for binary service-files

VBScript

If bStatus Then bStatus = Service_Create("ServiceName", "DisplayName", "C:\CapaInstaller.exe")

Scripting Guidelines

Service_Create Service_Exist Service_SetStartMode Service_Start