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

Installer

Gets the current installer instance

Declaration

Source position: fpmkunit.pp line 1676

function Installer(

  InstallerClass: TInstallerClass

):TCustomInstaller; overload;

function Installer: TCustomInstaller; overload;

Arguments

InstallerClass

  

Installer class to instantiate

Function result

Current installer object

Description

Installer returns the current installer instance or creates a new one using the specified installer class. Note that only one class can be instantiated. This function provides access to the global installer object for package management operations.

The installer instance manages the build process, package compilation, installation, and other package lifecycle operations within the fpmake system.

If no class is specified and no instance is present yet, the TFPCInstaller class is used to create the installer class.

See also

TFPCInstaller

  

Free Pascal Compiler specific installer implementation


Documentation generated on: Dec 15 2025