[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

file integrity checking

Hi;

I have a installer and another friend of mine took it from me. He cannot install and i can install the file. So, how can i check the integrity of the file he has got?

Regards.
0
jazzIIIlove
Asked:
jazzIIIlove
  • 4
  • 3
1 Solution
 
awawadaCommented:
I would check the Hash if its same.

I use HashTab to check the Hash.
http://implbits.com/HashTab/HashTabWindows.aspx

Is he getting an error? If yes can you post it here?
0
 
MereteCommented:
If it an MSI file copied from the AppData folder that file may belong to the OS it was installed on. x 64 bit x 32?
They should match?
Maybe he should check his version of Microsoft Installer.
Windows Installer
http://msdn.microsoft.com/en-us/library/cc185688(v=vs.85).aspx
0
 
jazzIIIloveAuthor Commented:
Hi awawada;

It's an msi. So, your program doesn't yield anything.

Hi Merete;

It's a .NET 4.0 msi.

Regards.
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 
MereteCommented:
Ok thanks
May I ask what it is for? From my above Link
The installer ensures that all the packages belonging to a multiple-package transaction are installed or none of the packages are installed.
If he right click it and run as administrator?
0
 
jazzIIIloveAuthor Commented:
Hi Merete,

To clarify, how can the user check the installer? I am lost (due to my laziness to reply in timely fashion)

Regards.
0
 
MereteCommented:
I don't know jazzIIIlove but at a guess the digital signature could be broken. if it is a digitally signed MSI-file windows would check it's validity
I did source this
To observe this open the exe in a hex editor, like this http://www.hexedit.com/
or this one
http://www.hhdsoftware.com/free-hex-editor
 delete around the last 16 bytes and save the file back to disk.
The install will function normally, no integrity check is performed!
0
 
jazzIIIloveAuthor Commented:
16 bytes? So 16 blocks of hex values?
0
 
MereteCommented:
I was hoping you'd know?
Doesn't it depend on the form used?
Which one did you download
http://www.hexedit.com/download.htm

Check this out jazzIIIlove this seems simpler than checking the msi instead you could unpackage the msi
scroll down to>What is MSI?
MSI - Windows Installer - Code and Utilities
http://www.jsware.net/jsware/msicode.php5
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now