An MSI-database contains a table MsiFileHash. According to the documentation The MsiFileHash table is used to store a 128-bit hash of a source file provided by the Windows Installer package.
Does someone know what hash algorithm is used/should be used to generate these hashes?
MD5?
It's a custom hash algorithm used only by Windows Installer.
Since Windows Installer uses it only for unversioned files, it's not reliable for file validation or integrity check. So you should use your own algorithm if you want to use file hashes in a custom way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With