I have the exact issue as the OP of this question but their fix did not work for me:
Related Stack Overflow Question
I need to install MS SQL Server and SQL Server Management Studio on my computer. No matter what I try to install (SQL Server, SSMS, SQL Server 2012 Native Client) I get an error saying that it is missing a DLL.
This seems to be the relevant part of the log file. The percent complete starts counting down after all this as it removes everything it just installed.
[3C14:0104][2021-04-16T14:40:07]e000: Error 0x80070643: Failed to install MSI package.
[3C14:0104][2021-04-16T14:40:07]e000: Error 0x80070643: Failed to execute MSI package.
[1520:0A84][2021-04-16T14:40:07]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[1520:0A84][2021-04-16T14:40:07]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft SQL Server 2012 Native Client
[1520:0A84][2021-04-16T14:40:07]i319: Applied execute package: sqlncli.msi, result: 0x80070643, restart: None
[1520:0A84][2021-04-16T14:40:07]e000: Error 0x80070643: Failed to execute MSI package.
[1520:0A84][2021-04-16T14:40:07]i000: MainViewModel.OnPackageAction: Install Started for package Microsoft SQL Server 2012 Native Client
[3C14:0104][2021-04-16T14:40:07]i318: Skipped rollback of package: sqlncli.msi, action: Uninstall, already: Absent
[1520:0A84][2021-04-16T14:40:07]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft SQL Server 2012 Native Client
[1520:0A84][2021-04-16T14:40:07]i319: Applied rollback package: sqlncli.msi, result: 0x0, restart: None
From searching around online, I have found the missing DLL is sqlncli11.dll which should be in the C:\Windows\System32 folder (maybe SysWOW64 for 64 bit?). The problem is that I have no idea how to replace this missing DLL. I have not been able to find where to download it on the Microsoft website and I'm not about to download it from some other sketchy site. I thought it would come as part of the SQL Server 2012 Native Client but that had the same error while trying to install.
I have tried every other fix I have been able to find except reinstalling Windows and editing my registry, which both seem like nuclear options.
User contributions licensed under CC BY-SA 3.0