Thread: MD5 Checksum
View Single Post
  #21  
Old 22-12-2018, 11:32
Punisher Punisher is offline
Banned
 
Join Date: Nov 2018
Location: India
Posts: 54
Thanks: 37
Thanked 0 Times in 0 Posts
Punisher is on a distinguished road
Smile

Quote:
Originally Posted by KaktoR View Post
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.