SQL Server 2014 installation stuck (hung up) or taking very long time to finish
I observed this very same issue in one of my colleague's windows 10 box with SQL Server 2014 Enterprise installer as well. As mentioned in this MS connect bug you can try either of the below mentioned options:
- As mentioned by KevinMS in comments tab :
I used task manager and killed the Windows Installer instances, clicked Retry and the installation completed. What a beat down.
You can kill the Windows Installer process as shown below:
- As mentioned by Jonathan Dyke in workarounds tab:
It's fixed!
http://support.microsoft.com/kb/2820068
I tested this solution with 2014 express and can confirm that using /SkipInstallerRunCheck works as advertised. The installer no longer goes into an endless loop when it can't shut down msiserver.
For my colleague who was facing this issue with SQL Server 2014 setup, solution # 1 above worked.
Regarding SQL Server 2017 : My colleague faced exactly same issue on SQL Server 2017 also. We didn't see the "Windows Installer" app in processes tab on his machine. So we went with solution # 2 i.e. launch the installer as Setup.exe /SkipInstallerRunCheck
and it worked for him. While running from PowerShell console the command looks like .\Setup.exe /SkipInstallerRunCheck
.
I had this same issue on SQL express 2014. When I went to check there was indeed a Windows Installer running. I killed that process & SQL proceeded to install just fine.
Found this here: https://community.spiceworks.com/topic/483582-ms-sql-2014-install-freezing