#1471
|
|||
|
|||
Damn, any idea where should i start to learn basic inno setup functions and stuff?
|
The Following 2 Users Say Thank You to :( Sad8669 For This Useful Post: | ||
GaMEr_2077 (17-06-2021), pratikpatel8982 (17-06-2021) |
Sponsored Links |
#1472
|
||||
|
||||
Quote:
It has other libraries like cmdout.dll (by Ele) but I don't know if it's public. I've also attached here an example using version without libraries. |
The Following 5 Users Say Thank You to Cesar82 For This Useful Post: | ||
GaMEr_2077 (17-06-2021), Gehrman (24-06-2021), Harsh ojha (02-07-2021), Masquerade (18-06-2021), pratikpatel8982 (17-06-2021) |
#1473
|
|||
|
|||
Quote:
RIGHT?? |
#1474
|
||||
|
||||
Quote:
Tested with: Inno 5.5.1.ee2(unicode) Enhanced and Inno 6.2.0(unicode). Note: There're two separate libraries here. One is for Inno and the other is for Delphi. Preview:
__________________
- All life is an experiment. The more experiments you make the better. - |
The Following 10 Users Say Thank You to Ele For This Useful Post: | ||
:( Sad8669 (18-06-2021), Carldric Clement (26-07-2021), Cesar82 (17-06-2021), ffmla (18-06-2021), GaMEr_2077 (18-06-2021), Gehrman (24-06-2021), Grumpy (18-06-2021), Harsh ojha (02-07-2021), Masquerade (18-06-2021), oo7 (18-09-2021) |
#1475
|
|||
|
|||
@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); |
#1476
|
||||
|
||||
Yes it it possible the way you thought on it. I remember this was the case in all your repacks and I wondered why you made it this way
However, I think there is a more easier way to do this. I guess one of our experts will answer you on this
__________________
Haters gonna hate
|
#1477
|
|||
|
|||
Quote:
Memo.Lines.Add('Unpacking: ' + CurrentFile); |
The Following 3 Users Say Thank You to DiCaPrIo For This Useful Post: | ||
#1478
|
||||
|
||||
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: | ||
#1479
|
||||
|
||||
Quote:
Last edited by Carldric Clement; 26-07-2021 at 09:26. |
#1480
|
|||
|
|||
Is there an inno library that support blake3 hashings? ISHash does MD5 but not Blake3.
|
#1481
|
||||
|
||||
Something like this?
https://github.com/namazso/OpenHashTab Edit: Scratch it, it's just a shellext installer... Maybe ask peterf if he got some spare time to add it into ishash
__________________
Haters gonna hate
Last edited by KaktoR; 30-07-2021 at 15:48. |
#1482
|
|||
|
|||
Can Help Me ?
|
#1483
|
||||
|
||||
I didn't expect it before. the newest version of Inno Setup 6 was no longer code of Application.ProcessMessanges; Is there any similar this code?
|
#1484
|
|||
|
|||
Quote:
function TranslateMessage(const lpMsg: TMsg): BOOL; external '[email protected] stdcall'; function DispatchMessage(const lpMsg: TMsg): Longint; external '[email protected] stdcall'; procedure AppProcessMessages; var Msg: TMsg; begin while PeekMessage(Msg, 0, 0, 0, 1) do begin TranslateMessage(Msg); DispatchMessage(Msg); end; end; |
The Following User Says Thank You to DiCaPrIo For This Useful Post: | ||
Carldric Clement (12-08-2021) |
#1485
|
||||
|
||||
Quote:
|
Thread Tools | |
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 06:51 |
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 07:57 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 10:48 |