Quote:
Originally Posted by audiofeel
could you provide an example of how you calculate the free space needed for installation. if any additional checkboxes are marked. you have an example, but it is not completed

|
is this not enough?
Code:
function InitDiskUsage: FDiskUsage;
// DISK
FDiskUsage = interface(IUnknown)
'{08403E71-113A-4F88-960F-36296CB8AAA1}'
procedure SetDir(Const ADir: String);
function DiskLoad: Cardinal;
function TotalSpace: Double;
function FreeSpace: Double;
function UsedSpace: Double;
end;