You might see error code 30174-4-27 if you run out of disk space while installing Office. Free up space on your hard drive and then try installing Office again.
Free up disc space
For more information about freeing up disc space, go to Free up drive space on your hard drive.
Restart your computer and reinstall Office
After clearing up disc space, restart your computer and try the installation again.
Restart your computer.
Reinstall Microsoft 365.
To reinstall Office, select the version you want to install and follow those steps.
Microsoft 365
Office 2024
Office 2021
Office 2019
Office 2016