Class TUnInstall (unit Ui) |
Inherits from
TComponent
So far, the TUnInstall will burp if there are two or more file groups with
the same GroupName property. Or probably even if there are groups with blank
GroupName properties.
constructor Create(AOwner: TComponent);
- String routines
destructor Destroy;
procedure EraseDirectories;
Note we need to link this puppy up to a file group if it is specified
procedure ExpandPaths;
procedure InsertHelperComponent(Value: TBaseHelperComponent);
procedure ReadInstallInfo;
This procedure will read in the install file and create the hierarchy of components
procedure RemoveHelperComponent(Value: TBaseHelperComponent);
procedure UnInstall;
procedure HookParentGroups;
Add files to this puppy!
procedure ReadAliases;
Hook to the parent file group, if any
procedure ReadFileGroups;
procedure ReadINIFiles;
Note we need to link this puppy up to a file group if it is specified
procedure ReadProgramItems;
Note we need to link this puppy up to a file group if it is specified
function GetAliasCount: Integer;
function GetAliases(I: Integer): TInstallAlias;
function GetINIFileCount: Integer;
function GetINIFiles(I: Integer): TInstallINIFile;
function GetInstallFileGroupCount: Integer;
function GetInstallFileGroups(I: Integer): TInstallFileGroup;
function GetProgramItemCount: Integer;
function GetProgramItems(I: Integer): TProgramItem;
property INIFileName : String
property InstallINIFile : TInstallINIFile
property RestoreToPrevious : Boolean
property AliasCount : Integer
property Aliases : TInstallAlias
property DirList : TStrings
property FileGroupCount : Integer
property FileGroups : TInstallFileGroup
property INIFileCount : Integer
property INIFiles : TInstallINIFile
property ProgramItemCount : Integer
property ProgramItems : TProgramItem
event OnChooseFileGroups : TContinueEvent
event OnUnInstallAlias : TUIAlias
event OnUnInstallINIFile : TUIINIFile
event OnUnInstallProgramItem : TUIProgramItem
FAliases : TList;
FChooseFileGroups : TContinueEvent;
FDirList : TStrings;
FFileGroups : TList;
FINIFile : TINIFile;
FINIFileName : String;
FINIFiles : TList;
FInstallINIFile : TInstallINIFile;
FProgramItems : TList;
FRestoreToPrevious : Boolean;
FUnInstallAlias : TUIAlias;
FUnInstallINIFile : TUIINIFile;
FUnInstallProgramItem : TUIProgramItem;
INIFile : TINIFile;
InstallInfo : TInstallInfo;
constructor Create(AOwner: TComponent);
String routines
destructor Destroy;
procedure EraseDirectories;
Note we need to link this puppy up to a file group if it is specified
procedure ExpandPaths;
procedure InsertHelperComponent(Value: TBaseHelperComponent);
procedure ReadInstallInfo;
This procedure will read in the install file and create the hierarchy of components
procedure RemoveHelperComponent(Value: TBaseHelperComponent);
procedure UnInstall;
procedure HookParentGroups;
Add files to this puppy!
procedure ReadAliases;
Hook to the parent file group, if any
procedure ReadFileGroups;
procedure ReadINIFiles;
Note we need to link this puppy up to a file group if it is specified
procedure ReadProgramItems;
Note we need to link this puppy up to a file group if it is specified
function GetAliasCount: Integer;
function GetAliases(I: Integer): TInstallAlias;
function GetINIFileCount: Integer;
function GetINIFiles(I: Integer): TInstallINIFile;
function GetInstallFileGroupCount: Integer;
function GetInstallFileGroups(I: Integer): TInstallFileGroup;
function GetProgramItemCount: Integer;
function GetProgramItems(I: Integer): TProgramItem;
property INIFileName : String
property InstallINIFile : TInstallINIFile
property RestoreToPrevious : Boolean
property AliasCount : Integer
property Aliases : TInstallAlias
property DirList : TStrings
property FileGroupCount : Integer
property FileGroups : TInstallFileGroup
property INIFileCount : Integer
property INIFiles : TInstallINIFile
property ProgramItemCount : Integer
property ProgramItems : TProgramItem
event OnChooseFileGroups : TContinueEvent
event OnUnInstallAlias : TUIAlias
event OnUnInstallINIFile : TUIINIFile
event OnUnInstallProgramItem : TUIProgramItem
FAliases : TList;
FChooseFileGroups : TContinueEvent;
FDirList : TStrings;
FFileGroups : TList;
FINIFile : TINIFile;
FINIFileName : String;
FINIFiles : TList;
FInstallINIFile : TInstallINIFile;
FProgramItems : TList;
FRestoreToPrevious : Boolean;
FUnInstallAlias : TUIAlias;
FUnInstallINIFile : TUIINIFile;
FUnInstallProgramItem : TUIProgramItem;
INIFile : TINIFile;
InstallInfo : TInstallInfo;