|
|
|
#1
|
|||
|
|||
|
@Ele, thanks your plugin works great in my tests. I tried the dll by BLACKFIRE69 however I could not get it to work.
Is there a way to stop my memo from echoing the same thing twice? Currently I have it set to echo the file currently being extracted however this means it echoes the same file over and over again until it moves onto the next file. Here's the current code: Code:
function ProgressCallback(OveralPct, CurrentPct: Integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): LongWord;
var
CurTick: DWORD;
begin
Memo.Lines.Add('Unpacking: ' + CurrentFile);
|
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Memo.Lines.Add('Unpacking: ' + CurrentFile); |
| The Following 3 Users Say Thank You to DiCaPrIo For This Useful Post: | ||
|
#3
|
||||
|
||||
|
Quote:
I don't know if the filenames are partially cut off or not. Let's say you have 2 files with same names in somewhat similar paths then the second file will also be displayed. Example: 1) Data1.bin destination {app}\bin FileName = Bin32\File1.txt FileName = Bin32\File2.txt 2) Data2.bin destination {app}\ FileName = Bin\Bin32\File1.txt FileName = Bin\File3.txt In this case there are similar names as long as it is not the same name as the previous line, it will be added. Code:
if (Memo.Lines.Count = 0) or (CompareText(Memo.Lines.Strings[Memo.Lines.Count - 1], 'Unpacking: ' + CurrentFile) <> 0) then
Memo.Lines.Add('Unpacking: ' + CurrentFile);
|
| The Following 3 Users Say Thank You to Cesar82 For This Useful Post: | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |