An installer is the one download you should never take on faith. It is a program you are about to run, usually with permission to change your system, arriving as one large file from a page crowded with mirrors. If that file was cut short by a dropped connection, swapped by a bad mirror, or is simply the wrong release wearing the right name, double-clicking it turns a small download problem into a broken installation or worse.

Publishers who expect this worry print a checksum beside the download, and many also state the file's exact size. Before you run anything, you can confirm both numbers with the free File Hash and Info Report on Ovatly, which reads the file in your browser and uploads nothing. This guide walks through the check: size first, then SHA-256.

Contents

  • Quick answer
  • Why installers get checked before they run
  • Size first, hash second
  • How to confirm an installer, step by step
  • Worked example: reading the report on a known file
  • What the rest of the report tells you
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

On the publisher's download page, note the stated size and the SHA-256 checksum. Download the file from the publisher's own site, then open the File Hash and Info Report, choose the installer, and compare. If the reported size differs from the stated size, the download is incomplete. If the SHA-256 matches the published string character for character, the file is byte for byte the release the publisher hashed. If it differs at all, do not run the file: delete it and download again from the official source.

Why installers get checked before they run

Most downloads are only read. An installer is executed, and that is why it earns a check other downloads can skip. A truncated installer may start, write half a program to disk and fail midway, leaving a mess behind.

Installers are big, single files, the downloads most likely to be cut short, and release pages often keep several versions side by side, making the wrong file an easy grab. The name on your disk looks right in every case. The size and the hash are how you tell them apart.

Size first, hash second

The two checks answer different questions, cheap one first.

Size is a sanity check. The report lists the file's size, and the publisher states the size the file should be. If yours is smaller, the download was cut short: fetch it again. If the sizes match, you have learned something real but limited, because size is only a count of bytes, and two different files can share a size.

SHA-256 is the verdict. A hash is a fingerprint computed from the file's exact bytes: the same bytes always produce the same 64-character string, and changing even one byte produces a completely different one. So when the string the report computes matches the string the publisher published, character for character, the file is the release itself, not a lookalike. One different character is a different file.

MD5, the other checksum in the report, plays a smaller role: an identification checksum, useful when an older publisher lists nothing else, but collisions, two different files with the same MD5, are practical to construct. When SHA-256 is offered, verify against it instead.

How to confirm an installer, step by step

  1. Before downloading, note the size and SHA-256 checksum from the publisher's download page or release notes, copied exactly.
  2. Download the installer from the publisher's own site, not a mirror or download portal, so checksum and file come from the same source.
  3. Open the File Hash and Info Report and choose the downloaded installer with the file box. Nothing is uploaded; the browser reads the file on your device.
  4. Compare the size in the report with the stated size. A mismatch ends the check: delete the file and download it again.
  5. Compare the SHA-256 in the report with the published string, character by character, ideally by pasting both into a text editor.
  6. An exact match means the installer is complete. Any difference means do not run it: delete it, download again from the official source, and check the fresh copy before running it.

Worked example: reading the report on a known file

The comparison is easier to trust once you have seen the report behave correctly on a file whose answers are known. Create a text file containing exactly the three characters abc, with no newline at the end, and run it through the tool. The report shows a size of 3 bytes and these fingerprints:

MD5:     900150983cd24fb0d6963f7d28e17f72
SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Those are the published test vectors for abc, the values the whole field agrees on. Add a single trailing newline and both strings change completely, which is the whole principle in miniature.

Your installer check is that same comparison at a larger scale. A truncated installer is the abc file with bytes missing; a substituted one is a different file entirely. In both cases the size may look plausible while the SHA-256 refuses to match.

What the rest of the report tells you

The report also lists name, type, extension and last-modified date. The type field shows the type your browser reports for the file, which usually comes from its extension, not from inspecting its contents. An installer renamed to the wrong extension will be described the way its name suggests. The hash, computed from the actual bytes, never cares what the file is called.

For a readable text file, up to 512 KB, the report also shows a preview of its contents. Installers are binary, so no preview appears for them, and that absence is expected, not a sign that anything is wrong.

Limitations and honest tradeoffs

Very large installers take patience. MD5 is read in 4 MB slices with a progress bar, but SHA-256 reads the file as one block, so a file of hundreds of megabytes can take a while and use noticeable memory. That is the cost of keeping everything local.

A matching SHA-256 proves your copy is identical to the copy the publisher hashed; it does not prove the publisher is honest or the software is well made. And if a publisher lists no checksum at all, the size alone is a weak check: it catches truncation and little else, and the official source does most of the protective work instead.

Common mistakes

  • Running the installer first and checking later. The check only protects you before the file executes. Afterwards it explains a problem; it cannot prevent one.
  • Comparing only the start of the checksum. Thirty matching characters and a different thirty-first is a mismatch.
  • Verifying against MD5 when SHA-256 is listed. MD5 collisions are practical. If the publisher gives you the stronger fingerprint, use it.
  • Re-downloading from the same place that served the bad copy. A mismatch sends you back to the publisher's own site, not to the same mirror for another attempt.
  • Waving away a size mismatch. A smaller file is an incomplete file, however official it looks.

FAQs

Is the installer uploaded when I check it? No. Your browser reads the file locally and computes the report on this device. Nothing leaves your machine, which is what you want when the file being checked is one you have not decided to trust yet.

The size matches but the SHA-256 does not. Which do I believe? The hash. Size is a quick sanity check that catches truncated downloads, but two different files can easily share a size. A SHA-256 mismatch means the bytes differ from the published release, whatever the size says, so delete the file and download it again.

The publisher only lists an MD5 checksum. Is that enough? It is weaker. MD5 works as an identification checksum, but collisions, two different files with the same MD5, are practical to construct. Treat an MD5 match as reassurance against corruption, and prefer publishers and mirrors that also list SHA-256.

How long does checking a large installer take? MD5 is read in 4 MB slices with a progress bar. SHA-256 reads the file as one block, so a very large installer can take a while and use noticeable memory. That pause is the cost of keeping the whole check on your own device.

Does a matching SHA-256 prove the installer is safe to run? It proves the file on your disk is identical to the file the publisher hashed, nothing more. It rules out a truncated, corrupted or substituted download. Whether the publisher itself is trustworthy is a separate judgement that no checksum can make for you.

Conclusion

Confirming an installer is a two-minute habit with a binary answer: the size agrees and the SHA-256 matches, or the file does not get run. The File Hash and Info Report gives you both numbers in your browser, with the file never leaving your device. The same habit applies to documents: our guide to checking which edition an EPUB ebook is from its metadata shows how an ebook's declared fields settle which edition you hold, and where they honestly stay silent. For more guides in this series, see our File and Data Conversion guides.

References