Vcl.SvcMgr.TService.AfterInstall
Delphi
property AfterInstall: TServiceEvent read FAfterInstall write FAfterInstall;
C++
__property TServiceEvent AfterInstall = {read=FAfterInstall, write=FAfterInstall};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.SvcMgr.pas Vcl.SvcMgr.hpp |
Vcl.SvcMgr | TService |
Description
Occurs immediately after the service is registered with the Windows Service Control manager.
Write an AfterInstall event handler to take specific action immediately after the service is registered. Install services by running the service application with the INSTALL switch.