Installservice

Syntax:

Installservice(ServiceName.s, DisplayName.s, PathToServiceEXE.s, Description.s, StartParameter)

Parameters:

ServiceName.s

=

The service name (Exe)

DisplayName.s

=

The name which shows later in the servicemanager

PathToServiceEXE.s

=

the full path to the service

Description.s

=

The description whichs shows later in the servicemanager

StartParameter

=

additonal startparameter (Start directly and more)

start types:

=

#SERVICE_BOOT_START

=

$00000000

#SERVICE_SYSTEM_START

=

$00000001

#SERVICE_AUTO_START

=

$00000002

#SERVICE_DEMAND_START

=

$00000003

#SERVICE_DISABLED

=

$00000004


Return Values:


Description:

Installs a service and start it


Example:


Remarks:

tested with 2k/XP



Supported OS:   Windows