Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creates Windows Service using the specified options

 


Syntax

Service_Create(sServiceName, sDisplayName, sBinPath) As Boolean 

 


Parameters

sServiceName (String)

...

Path for binary service-files

 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
If bStatus Then bStatus = Service_Create("ServiceName", "DisplayName", "C:\CapaInstaller.exe")

Scripting Guidelines

 


Related functions

Service_Create Service_Exist Service_SetStartMode Service_Start