Adds package to installer collection
Source position: fpmkunit.pp line 1539
public function TCustomInstaller.AddPackage( |
const AName: string |
):TPackage; |
AName |
|
Name of package to add |
Added package instance
AddPackage creates and adds a new TPackage instance to the installer's package collection. The method returns the newly created package which can then be configured with targets, dependencies, and settings.
Each package added to the installer will be processed during the run operation according to the current run mode, whether for compilation, installation, or other operations.