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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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