inno-setup-v6

Automate obtaining the SHA256 for a file to download with Inno Setup 6.1?

风格不统一 提交于 2021-02-08 06:37:37
问题 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

Automate obtaining the SHA256 for a file to download with Inno Setup 6.1?

一曲冷凌霜 提交于 2021-02-08 06:37:32
问题 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

Why is installer compiled in Inno Setup 6 one MB larger than in Inno Setup 5

元气小坏坏 提交于 2019-12-08 01:01:19
问题 I have an Inno Setup script to make my application into an exe. When I compile the code using Inno Setup version 6, the output file size is 110MB (as shown in Windows Explorer size column) But when I compile the same script in Inno Setup version 5, the output file size is 109MB (1 MB smaller). Why there is a difference in size? Is this a problem? 回答1: A compiled installer is actually an identical copy of SetupLdr.e32 with a compressed copy of Setup.e32 appended (along with actual installation

Why is installer compiled in Inno Setup 6 one MB larger than in Inno Setup 5

大憨熊 提交于 2019-12-06 14:12:37
I have an Inno Setup script to make my application into an exe. When I compile the code using Inno Setup version 6, the output file size is 110MB (as shown in Windows Explorer size column) But when I compile the same script in Inno Setup version 5, the output file size is 109MB (1 MB smaller). Why there is a difference in size? Is this a problem? A compiled installer is actually an identical copy of SetupLdr.e32 with a compressed copy of Setup.e32 appended (along with actual installation files). Both these files are present in Inno Setup installation folder. Those two files have: 0.68 + 2.41