Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello,Soctt1963
Welcome to the Microsoft community!
I have realized that when you install Office 2021, there is an error code :30175-45.
Since the installation path of Office is fixed and cannot be changed, Office cannot be installed when there are anomalies in the local files of Office, or when there are residual files that cause incorrect access to the data, as well as when there are problems with the system and the system registry.
Next I will provide some detailed troubleshooting steps, which have examples of problem fixing. But if these problems can not be solved, only through a clean reinstallation of the system to solve the problem, because there have been cases of not retaining files to reset the system but the problem still exists.
- Uninstall Office residual files manually.
Manually uninstall Office - Microsoft Support
This method can effectively delete locally stored Office data files, but the operation is more complicated.
IMPORTANT: Before you start, you need to know removing Office manually is a long, complex process and might require that you reinstall the operating system if certain steps are done incorrectly.
If you haven't already tried uninstalling Office using the uninstall support tool following the steps in the "Option 2" section under the "Click-to-Run or MSI" tab in Uninstall Office from a PC, we recommend trying that first.
I read from a thread where a user solved the same problem by manually uninstalling, you can refer to it, this is the thread link
365 Installation Error 30175-45 (8) - Microsoft Community
Registry reset office
Press Windows + R , in the run box that opens type: regedit ,then press enter.
Locate the following keys and rename the Office folder (right-click on it and select Rename, e.g. rename Office to Officeold)
HKEY_CURRENT_USER\Software\Microsoft\Office
Also refer to the following steps to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion in the Registry Editor and check if the Office data path location has been changed. If there is, please change it back to the correct path, the following is the correct path in the registry:
Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click How to back up and restore the registry in Windows - Microsoft Support to view the article.
Once these operations are complete, you can try reinstalling Office in order to confirm that the problem is still there. If the problem persists, I can only recommend that you back up your data and cleanly reinstall your system.
Feel free to post back if you need further assistance.
Thank you for your understanding and patience and I look forward to hearing from you.
Ryan - MSFT | Microsoft Community Support Specialist