Hi there,
First, make sure that the Windows Installer service isn’t disabled.
-On the desktop, press Windows key + R to open the Run Dialog.
-Type services.msc in the Run Dialog, and then press Enter to open Services.
-Right-click the Windows Installer service, and then click Properties.
-If the Startup type box is set to Disabled, change it to Manual.
-Click OK to close the Properties window.
-Right-click the Windows Installer service, and then click Start. The service should start without errors.
You can also try to run the .msi packages as an administrator and see if that helps you. Here are some links to help you out with more troubleshooting steps.
How to troubleshoot Windows Installer errors
https://support.microsoft.com/en-us/topic/how-to-troubleshoot-windows-installer-errors-dc2f66aa-2ae2-1e61-6104-b8166628fbde
--If the reply is helpful, please Upvote and Accept it as an answer--