Sign in Join
FPDoc Onlineexperiment

TCustomInstaller class

In unit fpMkUnit

Base class for package installers

Declaration

pascal
TCustomInstaller = class(TComponent)

Inheritance

  1. TCustomInstaller
  2. TComponent
  3. TPersistent
  4. TObject

Descends from it: TBasicInstaller TFPCInstaller

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

Properties

FPMakeOptionsStringpublicString representation of FPMake options
BuildEnginepublicBuild engine instance used for compilation and installation
PackagespublicCollection of packages managed by this installer
RunModepublicCurrent operation mode of the installer
ListModepublicMode for listing package information
NotifyEventCollectionpublicCollection of notification event handlers

Methods

Logprotected
CreatePackagesprotected
FreePackagesprotected
GetPackagesprotected
CheckPackagesprotected
CheckNameSpacesprotected
CreateBuildEngineprotected
Errorprotected
AnalyzeOptionsprotected
Usageprotected
Compileprotected
Cleanprotected
Installprotected
UnInstallprotected
ZipInstallprotected
Archiveprotected
Manifestprotected
PkgListprotected
FPDocProjectprotected
Infoprotected
AddAutoPackageVariantsToPackageprotected
CreatepublicCreates a new installer instance
destroypublicDestroys installer instance and frees resources
AddPackagepublicAdds package to installer collection
AddPackageVariantpublicAdds package variant to installer
AddPackageFromDirpublic
RunpublicExecutes the installer with the current configuration

Inherited

From TComponent (74)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

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