FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   I want to add a Checksum of files (https://fileforums.com/showthread.php?t=97593)

Amsal 26-01-2016 05:23

I want to add a Checksum of files
 
Hello Everyone, I need a help. I want to add checksum utility in my script, so that when my files are installed then I can sure my members that it is installed with exact hashs.

Thanks in Advance

hasandgn34 26-01-2016 09:37

Quote:

Originally Posted by Amsal (Post 446441)
Hello Everyone, I need a help. I want to add checksum utility in my script, so that when my files are installed then I can sure my members that it is installed with exact hashs.

Thanks in Advance

you can use "RapidCRC" hash controller after installation.
you need to use it "RapidCRC.exe" and "rcrcshex.dll"

and inno setup Script has to be like this;


[Run]
Filename: "{app}\RapidCRC.exe"; Parameters: "checksums.md5"; WorkingDir: "{app}"; Flags: nowait postinstall

[Files]
Source: "C:\Users\your name\Desktop\RapidCRC\RapidCRC.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\RapidCRC\rcrcshex.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\RapidCRC\checksums.md5"; DestDir: "{app}"; Flags: ignoreversion

Razor12911 26-01-2016 09:54

http://fileforums.com/showthread.php?t=95775

Amsal 26-01-2016 17:36

Quote:

Originally Posted by hasandgn34 (Post 446450)
you can use "RapidCRC" hash controller after installation.
you need to use it "RapidCRC.exe" and "rcrcshex.dll"

and inno setup Script has to be like this;


[Run]
Filename: "{app}\RapidCRC.exe"; Parameters: "checksums.md5"; WorkingDir: "{app}"; Flags: nowait postinstall

[Files]
Source: "C:\Users\your name\Desktop\RapidCRC\RapidCRC.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\RapidCRC\rcrcshex.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\RapidCRC\checksums.md5"; DestDir: "{app}"; Flags: ignoreversion

Thanks a lot bro, but can you tell me the process for QuickSFV?

hasandgn34 26-01-2016 19:06

Quote:

Originally Posted by Amsal (Post 446460)
Thanks a lot bro, but can you tell me the process for QuickSFV?

you need to use it "QuickSFV.EXE" and "QuickSFV.ini"

and inno setup Script has to be like this;

[Run]
Filename: "{app}\QuickSFV.EXE"; Parameters: "checksums.md5"; WorkingDir: "{app}"; Flags: postinstall hidewizard

[Files]
Source: "C:\Users\your name\Desktop\QuickSFV\QuickSFV.EXE"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\QuickSFV\QuickSFV.ini"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\QuickSFV\checksums.md5"; DestDir: "{app}"; Flags: ignoreversion

Amsal 27-01-2016 02:43

Quote:

Originally Posted by hasandgn34 (Post 446465)
you need to use it "QuickSFV.EXE" and "QuickSFV.ini"

and inno setup Script has to be like this;

[Run]
Filename: "{app}\QuickSFV.EXE"; Parameters: "checksums.md5"; WorkingDir: "{app}"; Flags: postinstall hidewizard

[Files]
Source: "C:\Users\your name\Desktop\QuickSFV\QuickSFV.EXE"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\QuickSFV\QuickSFV.ini"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\QuickSFV\checksums.md5"; DestDir: "{app}"; Flags: ignoreversion

Thanks a lot!

Amsal 29-01-2016 04:00

Quote:

Originally Posted by hasandgn34 (Post 446465)
you need to use it "QuickSFV.EXE" and "QuickSFV.ini"

and inno setup Script has to be like this;

[Run]
Filename: "{app}\QuickSFV.EXE"; Parameters: "checksums.md5"; WorkingDir: "{app}"; Flags: postinstall hidewizard

[Files]
Source: "C:\Users\your name\Desktop\QuickSFV\QuickSFV.EXE"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\QuickSFV\QuickSFV.ini"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\your name\Desktop\QuickSFV\checksums.md5"; DestDir: "{app}"; Flags: ignoreversion

And bro, If I want to add this as a component, so how can I do that?

ShadowEagle 29-01-2016 04:32

Anyone knows which way codex does that with their new update installer? It`s fully integrated into inno setup, no third party tools.

Any idea? Cheers

hasandgn34 29-01-2016 04:58

Quote:

Originally Posted by ShadowEagle (Post 446569)
Anyone knows which way codex does that with their new update installer? It`s fully integrated into inno setup, no third party tools.

Any idea? Cheers

CODEX uses "ISMD5.dll" to check files. and they use "XDelta3.dll" to patch files.
but I don't know how can we intengrate these with Inno Setup scirtps. :D

If someone knows how can we integrate these, I wait help.

Cesar82 07-04-2017 09:26

Ismd5
 
1 Attachment(s)
ISMD5.dll example...

Nizar3003 08-04-2017 06:36

MD5 Hash

pakrat2k2 08-04-2017 08:18

Usefull DLL for Inno Setup users by peterf1999 > http://fileforums.com/showthread.php?t=95775


All times are GMT -7. The time now is 10:31.

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