| Class TUnInstall (unit Ui) |
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.
| Constructors |
constructor Create(AOwner: TComponent);| Functions |
destructor Destroy;
procedure EraseDirectories;
procedure ExpandPaths;
procedure InsertHelperComponent(Value: TBaseHelperComponent);
procedure ReadInstallInfo;
procedure RemoveHelperComponent(Value: TBaseHelperComponent);
procedure UnInstall;
procedure HookParentGroups;
procedure ReadAliases;
procedure ReadFileGroups;
procedure ReadINIFiles;
procedure ReadProgramItems;
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;| Properties |
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| Events |
event OnChooseFileGroups : TContinueEvent
event OnUnInstallAlias : TUIAlias
event OnUnInstallINIFile : TUIINIFile
event OnUnInstallProgramItem : TUIProgramItem| Variables |
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;| Constructors |
constructor Create(AOwner: TComponent);String routines
| Functions |
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;| Properties |
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| Events |
event OnChooseFileGroups : TContinueEvent
event OnUnInstallAlias : TUIAlias
event OnUnInstallINIFile : TUIINIFile
event OnUnInstallProgramItem : TUIProgramItem| Variables |
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;