https://bugs.winehq.org/show_bug.cgi?id=42733
Bug ID: 42733 Summary: Unable to find an entry point named 'RegSaveKeyEx' in DLL 'advapi32.dll' (SQL Server) Product: Wine Version: 2.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: pgkos.bugzilla@yahoo.com Distribution: ---
Created attachment 57726 --> https://bugs.winehq.org/attachment.cgi?id=57726 Screenshot of the error message box
Steps to reproduce: 1. Install Wine Staging 2.4. 2. export WINEARCH=win32 && export WINEPREFIX=~/.wine 3. Create a new Wineprefix. 4. Download Winetricks and use it to install NET Framework 4.6.1, mspatcha and MS Visual C++ 2010 runtime. 5. Set Wine Windows version to 8.1. 6. Download SQL Server 2012 SP3 from https://www.microsoft.com/en-us/download/details.aspx?id=50003 - ENU\x86\SQLEXPR_x86_ENU.exe (sha256sum: fb83d5035acb1a26a1e5805b5de5d463d18de9adf44fe7052261b83b901b7794) 7. Run the setup. The setup unpacks, starts. Then after I click 'New SQL Server stand-alone installation or add features to an existing installation', a window opens. After I accept everything, click ok, the window closes and a message box appears with an error that the setup cannot find an entry point named 'RegSaveKeyEx' in DLL 'advapi32.dll'. The setup does not continue.
The same error also occurs when trying to install SQL Server 2014.
I am attaching a screenshot with the error message box.
(32-bit Arch Linux with kernel 4.10.6)
https://bugs.winehq.org/show_bug.cgi?id=42733
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 57759 --> https://bugs.winehq.org/attachment.cgi?id=57759 stubs for RegSaveKeyExA/W
Does the attached patch help anything?
https://bugs.winehq.org/show_bug.cgi?id=42733
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Louis Lenders from comment #1)
Created attachment 57759 [details] stubs for RegSaveKeyExA/W
Does the attached patch help anything?
Please avoid using LP* in new code.
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).
https://bugs.winehq.org/show_bug.cgi?id=42733
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6c7760f2175e241b330cde0a902 | |c96d9007922e0 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/6c7760f2175e241b330cde0a90...
https://bugs.winehq.org/show_bug.cgi?id=42733
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.7.