Class TInstallINIFile (unit Instin)

Inherits from

TBaseHelperComponent

Constructors


constructor Create(AOwner: TComponent);

String-handling routines } { TInstallINIFile


Functions

destructor Destroy;


procedure ExpandPaths;

Log the current value and the installing value.

procedure Install;


procedure UnInstall(RestoreToPrevious: Boolean);

If you are going to add the uninstalling information to the InsatllINIFile, then you have to specify the following information: --- 1.

procedure ParseLinesAndWriteINI(INIFile: TINIFile);


procedure SetLines(Value: TStrings);


procedure SetReplacedLines(Value: TStrings);


Properties

property AfterInstall : TNotifyEvent


property BeforeInstall : TNotifyEvent


property FileGroup :


property FileName : TMetaVariableString


property Include :


property IncludeInstallInfo : Boolean


property InstallTypes :


property Lines : TStrings


property Options : INIFileOptionSet


property ReplacedLines : TStrings


Events

Variables

FAfterInstall : TNotifyEvent;


FBeforeInstall : TNotifyEvent;


FFileName : TMetaVariableString;


FIncludeInstallInfo : Boolean;


FLines : TStrings;


FOptions : INIFileOptionSet;


FReplacedLines : TStrings;



Constructors


constructor Create(AOwner: TComponent);

String-handling routines } { TInstallINIFile


Functions


destructor Destroy;


procedure ExpandPaths;

Log the current value and the installing value.


procedure Install;


procedure UnInstall(RestoreToPrevious: Boolean);

If you are going to add the uninstalling information to the InsatllINIFile, then you have to specify the following information: --- 1. Fill in the FileName property. 2. Fill the Lines property with the installed INI information, in a regular INI format. 3. Fill the ReplacedLines property with the values of the replaced INI entries. Each line should have the following format: Section;Ident;Value


procedure ParseLinesAndWriteINI(INIFile: TINIFile);


procedure SetLines(Value: TStrings);


procedure SetReplacedLines(Value: TStrings);


Properties


property AfterInstall : TNotifyEvent


property BeforeInstall : TNotifyEvent


property FileGroup :


property FileName : TMetaVariableString


property Include :


property IncludeInstallInfo : Boolean


property InstallTypes :


property Lines : TStrings


property Options : INIFileOptionSet


property ReplacedLines : TStrings


Events


Variables


FAfterInstall : TNotifyEvent;


FBeforeInstall : TNotifyEvent;


FFileName : TMetaVariableString;


FIncludeInstallInfo : Boolean;


FLines : TStrings;


FOptions : INIFileOptionSet;


FReplacedLines : TStrings;