Recent

Author Topic: Error onInstall  (Read 1185 times)

smzc

  • Newbie
  • Posts: 3
Error onInstall
« on: March 25, 2026, 02:38:12 pm »
I encountered an error while installing lazarus-4.6-fpc-3.2.2-win64.exe on my computer.  My motherboard is ASUS B550, and the CPU is AMD 5600. I would be extremely grateful for your help.
The message is "The setup files are corrupted,Please obtain a new copy aof the program.",But on the Intel 10th generation platform, everything works fine.

paweld

  • Hero Member
  • *****
  • Posts: 1593
Re: Error onInstall
« Reply #1 on: March 26, 2026, 09:25:31 am »
First, check the file's checksum, as you may have downloaded a corrupted file - the SHA-256 hash for the file lazarus-4. 6-fpc-3.2.2-win64.exe is: e53ef697644bfa9588cee833edd2c76af42f79331fff2eb9f730fef86fbda00f

In Windows 10 and later versions, you can check the SHA-256 hash using the following command:
Code: [Select]
certutil -hashfile c:\path_with_file\lazarus-4.6-fpc-3.2.2-win64.exe sha256
Best regards / Pozdrawiam
paweld

smzc

  • Newbie
  • Posts: 3
Re: Error onInstall
« Reply #2 on: March 27, 2026, 01:11:44 pm »
The SHA256 hash of lazarus-4.6-fpc-3.2.2-win64.exe: 
d982b867dd1db0b994de88cd4a15d6673eb158b1eadcefe2de990383e2a12560 
CertUtil: -hashfile command completed successfully.

Thaddy

  • Hero Member
  • *****
  • Posts: 18918
  • Glad to be alive.
Re: Error onInstall
« Reply #3 on: March 27, 2026, 01:15:32 pm »
Then you have your answer:
If the hash is wrong it is not equal to the official distribution....
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.

smzc

  • Newbie
  • Posts: 3
Re: Error onInstall
« Reply #4 on: March 27, 2026, 01:48:53 pm »
This is correct.:e53ef697644bfa9588cee833edd2c76af42f79331fff2eb9f730fef86fbda00f

Thaddy

  • Hero Member
  • *****
  • Posts: 18918
  • Glad to be alive.
Re: Error onInstall
« Reply #5 on: March 27, 2026, 02:08:36 pm »
Yes! and not the other one...
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12288
  • Debugger - SynEdit - and more
    • wiki
Re: Error onInstall
« Reply #6 on: March 27, 2026, 02:21:05 pm »
I just downloaded the installer (win 64) from sourceforge. The checksum for this is correct, so sourceforge has the correct file (albeit, they use mirrors, and I have not tested all mirrors of theirs).

If you downloaded from them (and if they don't have one broken mirror) then something went wrong during the download or on your PC.


Since installers are code signed, (i.e. they have their own hash stored as part of the signature) Windows will detect if they are changed/corrupted and will reject them.

None code signed installers would still run in some case, if the overall exe structure was still intact.

Make sure that your installer is code signed:
right click => properties => there must be a tab "Digital signatures".
The name of the signer should be "Stichting Programming Free Pascal & Lazarus Foundation"
And it was signed on Feb 20, 2026

If it is not, then you do not have the original installer.


Also: Our installer(s) and several of the executables inside it have been tested at https://www.virustotal.com/gui/file/e53ef697644bfa9588cee833edd2c76af42f79331fff2eb9f730fef86fbda00f

You can check your download there. And you should get the same hash.
If you check "lazarus.exe" after the install (and before you do any rebuild of it), it should also come up with "First Submission
2026-02-21" (on the details page)
« Last Edit: March 27, 2026, 02:24:19 pm by Martin_fr »

 

TinyPortal © 2005-2018