Skip to content

TCustomInstaller.Create

Creates a new installer instance

Declaration

Source position: fpmkunit.pp line 1561

public 
constructor TCustomInstaller.Create(AOwner: TComponent);  override;

Description

Create initializes a new TCustomInstaller instance with default configuration. This constructor sets up the installer framework including the build engine, package collection, and default settings.

It also analyzes the command-line to determine what the RunMode is.

The created instance is then ready to have packages added and can be configured for different run modes such as compilation, installation, cleaning, or archiving that will be executed during the Run procedure.

See also

Name Description
RunMode Current operation mode of the installer
Run Executes the installer with the current configuration