Vcl.SvcMgr.TService.BeforeInstall

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeInstall: TServiceEvent read FBeforeInstall write FBeforeInstall;

C++

__property TServiceEvent BeforeInstall = {read=FBeforeInstall, write=FBeforeInstall};

Properties

Type Visibility Source Unit Parent
event published
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

Occurs before the service is first registered with the Windows Service Control manager.

Write a BeforeInstall event handler to take specific action immediately before the service is first registered. Install services by running the service application with the INSTALL switch.

See Also