[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for package installers
Source position: fpmkunit.pp line 1500
type TCustomInstaller = class(TComponent) |
||
public |
||
constructor Create(); override; |
|
Creates a new installer instance |
destructor destroy; override; |
|
Destroys installer instance and frees resources |
function AddPackage(); |
|
Adds package to installer collection |
function AddPackageVariant(); |
|
Adds package variant to installer |
function AddPackageFromDir(); |
||
function Run; |
|
Executes the installer with the current configuration |
property FPMakeOptionsString: string; [r] |
|
String representation of FPMake options |
property BuildEngine: TBuildEngine; [r] |
|
Build engine instance used for compilation and installation |
|
Collection of packages managed by this installer |
|
|
Current operation mode of the installer |
|
property ListMode: Boolean; [r] |
|
Mode for listing package information |
property NotifyEventCollection: TNotifyEventCollection; [r] |
|
Collection of notification event handlers |
end; |
|
Base class for package installers |
|
| | | ||
| | | ||
| | | ||
TCustomInstaller is the base class for implementing package installation systems. It provides the framework for managing packages, coordinating with the build engine, and handling different installation modes.
The installer manages a collection of packages, provides access to the build engine, and supports different run modes including compilation, installation, cleaning, and archiving. It serves as the bridge between the command-line interface and the build system.
|
Main build engine for compiling and installing packages |
|
|
Central class for package management and building |
|
|
Collection of packages |
|
|
Build system execution modes |