Sign in Join
FPDoc Onlineexperiment

TBuildEngine.DoBeforeInstall procedure

Member of TBuildEnginepublicIn unit fpMkUnit

Executes actions before package installation

Declaration

pascal
procedure DoBeforeInstall(APackage: TPackage); virtual

Arguments

APackage

Package about to be installed

Description

DoBeforeInstall prepares the system and package for installation by executing pre-installation tasks. This method ensures installation directories exist, validates installation requirements, and runs custom pre-install commands.

The procedure verifies installation permissions, creates necessary directories, and performs any setup required before the actual file installation begins.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.