Class TInstallFileGroup (unit Install)

Inherits from

TBaseHelperComponent

Constructors


constructor Create(AOwner: TComponent);



Functions

procedure AfterInstall;


function AncestorsIncluded: Boolean;


procedure ClearFiles;


destructor Destroy;


procedure ExpandPaths;


function FileByName(Name: String): TInstallFile;


procedure GetDescendantFileGroups(Groups: TList);


function IndexOf(InstallFile: TInstallFile): Integer;


procedure InsertFile(Value: TInstallFile);


procedure Install;


procedure Refresh;


procedure RemoveFile(Value: TInstallFile);


procedure UnInstall(RestoreToPrevious: Boolean);


procedure WriteSuccessful;


procedure WriteUnInstallInfo;


procedure SetDescription(Value: TStrings);


procedure SetInclude(Value: Boolean);


procedure SetInstallTypes(Value: InstallTypeSet);


procedure SetParentFileGroup(Value: TComponent);


function GetFileCount: Integer;


function GetFiles(I: Integer): TInstallFile;


function GetSize: LongInt;


Properties

property AllowChangeDir : Boolean


property AllowChoice : Boolean

Design-time possible properties

property Description : TStrings


property DestDir : TMetaVariableString


property GroupName : String


property Include :


property InstallTypes :


property ParentFileGroup : TComponent


property FileCount : Integer

Run-time only propertyies

property Files : TInstallFile


property Size : LongInt


Events

Variables

FAllowChangeDir : Boolean;


FAllowChoice : Boolean;


FDescription : TStrings;


FDestDir : TMetaVariableString;


FFiles : TList;


FGroupName : String;


FParentFileGroup : TComponent;



Constructors


constructor Create(AOwner: TComponent);


Functions


procedure AfterInstall;


function AncestorsIncluded: Boolean;


procedure ClearFiles;


destructor Destroy;


procedure ExpandPaths;


function FileByName(Name: String): TInstallFile;


procedure GetDescendantFileGroups(Groups: TList);


function IndexOf(InstallFile: TInstallFile): Integer;


procedure InsertFile(Value: TInstallFile);


procedure Install;


procedure Refresh;


procedure RemoveFile(Value: TInstallFile);


procedure UnInstall(RestoreToPrevious: Boolean);


procedure WriteSuccessful;


procedure WriteUnInstallInfo;


procedure SetDescription(Value: TStrings);


procedure SetInclude(Value: Boolean);


procedure SetInstallTypes(Value: InstallTypeSet);


procedure SetParentFileGroup(Value: TComponent);


function GetFileCount: Integer;


function GetFiles(I: Integer): TInstallFile;


function GetSize: LongInt;


Properties


property AllowChangeDir : Boolean


property AllowChoice : Boolean

Design-time possible properties


property Description : TStrings


property DestDir : TMetaVariableString


property GroupName : String


property Include :


property InstallTypes :


property ParentFileGroup : TComponent


property FileCount : Integer

Run-time only propertyies


property Files : TInstallFile


property Size : LongInt


Events


Variables


FAllowChangeDir : Boolean;


FAllowChoice : Boolean;


FDescription : TStrings;


FDestDir : TMetaVariableString;


FFiles : TList;


FGroupName : String;


FParentFileGroup : TComponent;