|
@@ -18,7 +18,9 @@ function SevenZipDecode(const FileName, DestDir: String;
|
|
implementation
|
|
implementation
|
|
|
|
|
|
uses
|
|
uses
|
|
- Windows, SysUtils, PathFunc, Setup.LoggingFunc;
|
|
|
|
|
|
+ Windows, SysUtils, Forms,
|
|
|
|
+ PathFunc,
|
|
|
|
+ Setup.LoggingFunc, Setup.MainFunc;
|
|
|
|
|
|
var
|
|
var
|
|
ExpandedDestDir: String;
|
|
ExpandedDestDir: String;
|
|
@@ -222,6 +224,8 @@ end;
|
|
procedure _ReportProgress(const FileName: PChar; const Progress, ProgressMax: UInt64); cdecl;
|
|
procedure _ReportProgress(const FileName: PChar; const Progress, ProgressMax: UInt64); cdecl;
|
|
begin
|
|
begin
|
|
//Setup.LoggingFunc.Log(Format('%s: %d of %d', [FileName, Progress, ProgressMax]));
|
|
//Setup.LoggingFunc.Log(Format('%s: %d of %d', [FileName, Progress, ProgressMax]));
|
|
|
|
+ if DownloadTemporaryFileOrSevenZipDecodeProcessMessages then
|
|
|
|
+ Application.ProcessMessages;
|
|
end;
|
|
end;
|
|
|
|
|
|
function SevenZipDecode(const FileName, DestDir: String;
|
|
function SevenZipDecode(const FileName, DestDir: String;
|