Automate obtaining the SHA256 for a file to download with Inno Setup 6.1?
问题 The documentation for DownloadTemporaryFile says this about the RequiredSHA256OfFile parameter: If RequiredSHA256OfFile is set it will compare this to the SHA-256 of the downloaded file and raise an exception if the hashes don't match. An exception will be raised if there was an error. Otherwise, returns the number of bytes downloaded. Returns 0 if RequiredSHA256OfFile is set and the file was already downloaded. From the answer here I have determined that the correct commandline method to