Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCustomInstaller

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Base class for package installers

Declaration

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

  property Packages: TPackages; [r]

  

Collection of packages managed by this installer

  property RunMode: TRunMode; [r]

  

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;

Inheritance

TCustomInstaller

  

Base class for package installers

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

Description

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.

See also

TBuildEngine

  

Main build engine for compiling and installing packages

TPackage

  

Central class for package management and building

TPackages

  

Collection of packages

TRunMode

  

Build system execution modes


Documentation generated on: Dec 15 2025