You might see error code 12152-4 if your antivirus software, firewall, or proxy settings prevent you from installing Office. To resolve the problem, temporarily turn off your antivirus software, firewall, or proxy settings, install Office, and then turn the settings back on.
Temporarily turn off antivirus software
Open Control Panel.
Click System and Security.
Under Action Center, click Review your computer’s status and resolve issues.
Click Security to find the name of the antivirus software.
Temporarily turn off proxy settings
Go to Control Panel, and open Internet Options.
Click the Connections tab, and then click LAN settings.
If the box next to Use a proxy server for your LAN is checked, uncheck it.
Follow the below solution steps to fix Office error code 12152-4 while installing or uninstallig Office suite
1. Login to http://office.com/myaccount only if you have purchase Office through Microsoft Store.
If you purchased Office product key alone, go to http://office.com/setup and enter the product key.
2. If you have online account enter the username and password.
3. Click on the Install button
Click on downloaded file and installation prepares.
Office installation will start after checking and preparing the configuration.
Follow the simple onscreen instructions.
Once installation is completed, click on All Done button.
Now, the Office Suite is installed and ready for use and the error is fixed
You may check if the Microsoft Office applications are working fine.
If the issue is still not fixed, it can be a very critical problem with your computer. It can affect your personal data and the Windows Operating System. Windows registry and System files affected. It needs a manual removal and recommended to be performed by an expert.