bach verify checks that a setup file is complete and unchanged, for example after a download or on a file a build server produced. It installs and writes nothing.
It checks the archive against its checksum, every file against its size and checksum, and that nothing is missing or extra. A damaged file exits with code 1 and names the first bad files.
Signatureonly says whether a signature is present. To check that it’s valid, usesigntool verify /pa.- Without the key, an encrypted file’s archive is still checked, but not its contents.
- An online installer or uninstaller contains no files to check. Patches are checked too.
--json: verified, signature, files, name, version.