Reasons for Office 365 Error Code 30175-4: Internet access is required to set up your Microsoft account. For Office 365 Home and Office 365 Personal, internet connectivity is required once monthly for uninterrupted service.

Solutions for Error Code 30175-4:

Conflicts with antivirus and firewall
Check if your Antivirus program is blocking any of the programs that are getting installed on your computer. It is always suggested to disable your antivirus before you install any program on your computer.

Temporary files and Temporary Internet files:
There might be temporary files and temporary internet files and junk files in your computer which will cause registry issues and make some services not responsive. These temporary files might cause trouble for the system programs.
It is important for you to optimize and tune up your computer.

Reset Internet Explorer settings
There could be a problem with your web browser which may cause this kind of issue.
The temporary Internet files and the Browsing Cache, tools bar, add-ons, and the other internet sources might cause the problem for you to perform the online installation. Stop the print spooler.