|
|
|
#1
|
||||
|
||||
|
Hi all,
Does anyone know if Inno Setup supports checksum parts/segments/other-name-here? A lot of my conversions have selective/optional .bins and I usually only supply the checksums for the "main" files, but was wondering if I could have multiple smaller checksum files for each component then splice these together to verify selected parts. |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Last edited by Masquerade; 17-06-2021 at 12:53. |
| The Following 2 Users Say Thank You to Masquerade For This Useful Post: | ||
GaMEr_2077 (17-06-2021), L33THAK0R (17-06-2021) | ||
|
#3
|
|||
|
|||
|
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) | ||
|
#4
|
||||
|
||||
|
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
|
|
#5
|
|||
|
|||
|
Is there an inno library that support blake3 hashings? ISHash does MD5 but not Blake3.
|
|
#6
|
||||
|
||||
|
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 14:48. |
|
#7
|
|||
|
|||
|
Can Help Me ?
|
|
#8
|
||||
|
||||
|
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?
|
|
#9
|
|||
|
|||
|
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) | ||
|
#10
|
||||
|
||||
|
Quote:
|
|
#11
|
||||
|
||||
|
Code:
type TMsg = record hWnd: HWND; message: LongWord; wParam: Longint; lParam: Longint; Time: LongWord; pt: TPoint; end; |
| The Following 2 Users Say Thank You to Cesar82 For This Useful Post: | ||
Carldric Clement (12-08-2021), DiCaPrIo (12-08-2021) | ||
|
#12
|
|||
|
|||
|
Is there a way to make a listener (code, etc) that listens to get file size in an inno setup? My goal is to show progress in nanozip. It will listen to the nanozip output file with a time interval and get to the rate of total file size to the current size.
|
|
#13
|
|||
|
|||
|
Is there a way to detect the amount of CPU threads / cores there are and do something accordingly?
Eg. if CPU_THREADS = 6 then begin do_stuff end else begin do_other_stuff end; Asking because some multithreading tools crash when dealing with 6 or 12 threads. |
|
#14
|
|||
|
|||
|
Quote:
Code:
function GetSysCores(): Integer;
var
WbemLocator, WbemServices, WbemObjectSet, WbemObject: Variant;
begin;
WbemLocator := CreateOleObject('WbemScripting.SWbemLocator');
WbemServices := WbemLocator.ConnectServer('localhost', 'root\CIMV2');
WbemObjectSet := WbemServices.ExecQuery('Select NumberOfCores from Win32_Processor');
WbemObject := WbemObjectSet.ItemIndex(0);
Result := WbemObject.Properties_.Item('NumberOfCores').Value;
WbemLocator:=Unassigned;
WbemServices:=Unassigned;
WbemObjectSet:=Unassigned;
WbemObject:=Unassigned;
end;
function GetSysThreads(): Integer;
var
WbemLocator, WbemServices, WbemObjectSet, WbemObject: Variant;
begin;
WbemLocator := CreateOleObject('WbemScripting.SWbemLocator');
WbemServices := WbemLocator.ConnectServer('localhost', 'root\CIMV2');
WbemObjectSet := WbemServices.ExecQuery('Select NumberOfLogicalProcessors from Win32_Processor');
WbemObject := WbemObjectSet.ItemIndex(0);
Result := WbemObject.Properties_.Item('NumberOfLogicalProcessors').Value;
WbemLocator:=Unassigned;
WbemServices:=Unassigned;
WbemObjectSet:=Unassigned;
WbemObject:=Unassigned;
end;
|
| The Following User Says Thank You to DiCaPrIo For This Useful Post: | ||
Masquerade (18-08-2021) | ||
|
#15
|
|||
|
|||
|
DiCaPrIo
So I would put if GetSysCores = 6 in the if loop after calling the function? |
![]() |
|
|
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 |