Page tree
Skip to end of metadata
Go to start of metadata

Description

Creates Windows Service using the specified options


Syntax

Service_Create(sServiceName, sDisplayName, sBinPath) As Boolean 


Parameters

sServiceName (String)

Name of service

sDisplayName (String)

Name showed on service-list

sBinPath (String)

Path for binary service-files


Example

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

Scripting Guidelines


Related functions

Service_Create Service_Exist Service_SetStartMode Service_Start

  • No labels