You can come across with two errors: SharePoint 2013 service pack 1 the installation of this package failed and Installation of SharePoint 2013 Cumulative Update takes 5 hours.
To overcome either of the above issue, follow the steps:
- Copy and save the below code with extension .ps1.
- In the same location, copy the cumulative updates or SP 1. Make sure there is only one exe file or cumulative updates in that specific location.
- Open the SharePoint Management Shell, run the file (.ps1):