|
|
|
#1
|
||||
|
||||
|
Include quicksfv.exe and your md5/sfv file in setup.exe [Files] section and let this two files unpack in your game folder {app}.
Code:
[Files]
Source: File.md5; DestDir: {app};
Source: QuickSFV.exe; DestDir: {app};
Code:
procedure CurStepChanged(CurStep: TSetupStep);
var
ErrorCode: Integer;
begin
if (CurStep = ssDone) then begin
Exec(ExpandConstant('{app}\QuickSFV.exe'),'{#CRCFileName}','',SW_SHOW, ewWaitUntilTerminated, ErrorCode);
DeleteFile(ExpandConstant('{app}\QuickSFV.exe'));
DeleteFile(ExpandConstant('{app}\QuickSFV.ini'));
end;
end;
end;
__________________
Haters gonna hate
Last edited by KaktoR; 22-12-2018 at 04:23. |
| The Following 2 Users Say Thank You to KaktoR For This Useful Post: | ||
BLACKFIRE69 (12-09-2019), Punisher (22-12-2018) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
you can put QuickSFV.exe and QuickSFV.ini in tmp
and add ExtractTemporaryFile('checksum.exe'); ExtractTemporaryFile('checksum.ini'), if you cancel during the installation with quicksfv enable you may get error file not found better to add if (CurStep=ssPostInstall) and ISDoneError then begin DeleteFile(ExpandConstant('{tmp}\checksum.exe')); DelTree(ExpandConstant('{app}'), True, True, True); work on isdone script Filename: {tmp}\checksum.exe; Parameters: checksum.sfv; WorkingDir: {app}; Flags: postinstall skipifdoesntexist |
| The Following User Says Thank You to doofoo24 For This Useful Post: | ||
Punisher (22-12-2018) | ||
|
#3
|
|||
|
|||
|
Quote:
doofoo24 👍This will check tje files before it install right? I want to check files after install. I will check this tomorrow, and tell you if i have a problem with it. Thanks again. |
|
#4
|
|||
|
|||
|
Quote:
also I have open request thread for beginners, For understanding Compression methods.. If you can make it, please do it.
|
|
#5
|
|||
|
|||
|
Quote:
|
| The Following User Says Thank You to doofoo24 For This Useful Post: | ||
Punisher (22-12-2018) | ||
|
#6
|
|||
|
|||
|
Quote:
👍✔️
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I need commandline sha1 md5 checksum program | ipman_98 | Conversion Tutorials | 10 | 10-03-2021 07:56 |
| I want to add a Checksum of files | Amsal | Conversion Tutorials | 11 | 08-04-2017 08:18 |
| Doom3 wrong game DLL API version Problem after 1.31 from 1.3 install | sledge22 | General Gaming | 0 | 03-03-2009 19:07 |
| CMOS Checksum Error | themonkey39 | Hardware | 11 | 23-09-2008 06:30 |
| Heroes of Might and Magic V Checksum Error 0.2.0 | tyrs4u | General Gaming | 1 | 28-06-2006 17:08 |