Installation rejected due to Error 2502 and Error 2503. What to do?

Installation of LibreOffice rejected due to Error 2502 and Error 2503.

What to do?

Can this help?

Internet, and Microsoft support forums in particular, are full of questions regarding these two errors going together. This is one of them. Its most helpful (judging by votes) replies suggest basically these things:

  1. Try resetting permissions to C:\Windows\Installer;
  2. Try running the installation as administrator.

The other suggestions there are re-register msiexec (I doubt it being useful, since msiexec is not a library, but an executable), and scan for viruses (might be useful). There are other suggestions out there, such as resetting permissions for C:\Windows\Temp. Anyway, this is clearly the Windows issue that may randomly hit any system and any MSI package, not specific to LibreOffice.

I was able to bypass the errors by using Windows PowerShell instead of double-clicking on the file name or using the command prompt.

I found that deleting the Windows temp folder , worked for me.

What worked for me was copying the installation wizard path, running PowerShell as admin, and inputting “start [path]”
I don’t know why. But it worked lol