FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   MD5 Checksum (https://fileforums.com/showthread.php?t=102487)

pakrat2k2 20-12-2018 15:29

learn to read the replies & look in appropriate links/topics.. all information is provided
people will just stop trying to help if you just keep asking the same thing over & over in multiple topics.

Punisher 20-12-2018 20:27

I stop looking AFR Method.
can you tell me about CLS-PrecompMT multi tasking.
What this method compress.
Please explain thanks... :)

Punisher 22-12-2018 03:31

Quote:

Originally Posted by KaktoR (Post 477932)
You can use QuickSFV then and use parameter SFVorMD5File

Example:
Code:

Exec(ExpandConstant('{app}\QuickSFV.exe'),'File.md5','',SW_SHOW, ewWaitUntilTerminated, ErrorCode);


THANKS TO KaktoR...
i have crate sfv and md5 file today,
i like to check md5 after game installed

how do i do that ? what is the easy way to check MD5 after installed?
it needs to be automatically check after installed... help.. please :)

KaktoR 22-12-2018 04:06

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};

After install is finished use this in [Code]
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;


doofoo24 22-12-2018 09:52

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

Punisher 22-12-2018 11:32

Quote:

Originally Posted by KaktoR (Post 478027)
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};

After install is finished use this in [Code]
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;


Thanks a lot KaktoR.. I will try that and I'll tell you if i had issue.. Thanks again your the best..

also I have open request thread for beginners,
For understanding Compression methods..
If you can make it, please do it. :)

Punisher 22-12-2018 11:36

Quote:

Originally Posted by doofoo24 (Post 478036)
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

Thanks for Reply :) 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.

doofoo24 22-12-2018 12:29

Quote:

Originally Posted by Punisher (Post 478040)
also I have open request thread for beginners,
For understanding Compression methods..
If you can make it, please do it. :)

https://www.fileforums.com/showthread.php?t=97530

Punisher 22-12-2018 19:29

Quote:

Originally Posted by doofoo24 (Post 478042)

Thanks... For helping :) 👍✔️


All times are GMT -7. The time now is 06:11.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com