PDA

View Full Version : I want to add a Checksum of files


Amsal
26-01-2016, 05:23
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
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
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
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
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
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
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.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