KeyName
(string) The key name of the service that you wish to continue.
Note: The key name is only required if no service matches the display name.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Service.Create
OverviewExamples
Service.Create ( string Filename,
string DisplayName = "Service1",
string KeyName = "",
number ServiceType = SERVICE_WIN32_OWN_PROCESS,
boolean AllowDesktopInteraction = false,
number StartType = SERVICE_DEMAND_START, number ErrorControl = SERVICE_ERROR_NORMAL, string LoadOrderGroup = "",
number GroupTag = nil, table Dependencies = nil, string ServiceStartName = "", string Password = "" )
De s cr ip t ion
Creates a new service on the local system.
P arame t er s
Filename
(string) The fully qualified path to the service binary file, with or without arguments.