Service Functions

InstallShield 2020 » InstallScript Language Reference

The following functions allow you to access the registry, read, create and delete registry keys, and establish registry-related parameters for uninstallation.

Service Functions

Function

Description

ServiceAddService

Adds a service to the list of services that are registered on the target system.

ServiceExistsService

Determines whether the specified service is registered.

ServiceGetServiceState

Retrieves the sate of the specified service.

ServiceInitParams

Initializes the SERVICE_IS_PARAMS system variable’s members to default values. This function is called automatically during setup initialization.

ServiceRemoveService

Removes a service from the target system.

ServiceStartService

Starts a service. If the service is running when the function is called, the installation stops it and then restarts it.

ServiceStopService

Stops a service.