https://bugs.winehq.org/show_bug.cgi?id=42733
--- Comment #3 from pgkos.bugzilla@yahoo.com --- (In reply to Louis Lenders from comment #1)
Created attachment 57759 [details] stubs for RegSaveKeyExA/W
Does the attached patch help anything?
Yes, your patch fixes this particular problem. SQL Server 2014 setup now finishes succesfully (but with many error message boxes during the setup).
SQL Server 2012 setup does not complete (because of unimplemented MsiProvideAssemblyW, maybe I will file an another bug report for that).