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.
LVL 12
jazzIIIloveAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
What were the top attacks of Q1 2018?

The Threat Lab team analyzes data from WatchGuard’s Firebox Feed, internal and partner threat intelligence, and a research honeynet, to provide insightful analysis about the top threats on the Internet. Check out our Q1 2018 report for smart, practical security advice today!

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.