http://bugs.winehq.org/show_bug.cgi?id=31487
Bug #: 31487 Summary: Windows Essentials 2012 installer needs kernel32.dll.InitOnceExecuteOnce Product: Wine Version: 1.5.11 Platform: x86-64 URL: http://g.live.com/1rewlive5-all/en/wlsetup-all.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com Classification: Unclassified
The newest Windows Essentials (formerly Windows Live Essentials) installer crashes on start due to this unimplemented function:
wine: Call from 0x7bc4c710 to unimplemented function KERNEL32.dll.InitOnceExecuteOnce, aborting wine: Unimplemented function KERNEL32.dll.InitOnceExecuteOnce called at address 0x7bc4c710 (thread 0009), starting debugger...
http://bugs.winehq.org/show_bug.cgi?id=31487
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
http://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|Windows Essentials 2012 |Windows Essentials 2012 and |installer needs |.NET Framework 4.5 |kernel32.dll.InitOnceExecut |installer need |eOnce |kernel32.dll.InitOnceExecut | |eOnce Ever Confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-10-06 13:48:55 CDT --- Hello,
confirming, .NET Framework 4.5 (RTM, final) installer needs this too.
$ wine --version wine-1.5.14-182-ged97683
Regards
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2012-10-07 00:00:42 CDT --- You could try a couple of patches from my last attempt:
http://www.winehq.org/pipermail/wine-patches/2012-July/116504.html http://www.winehq.org/pipermail/wine-patches/2012-July/116505.html
It's Linux only solution.
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #3 from A Wine user RandomAccountName@mail.com 2012-10-20 23:23:29 CDT --- (In reply to comment #2)
You could try a couple of patches from my last attempt:
http://www.winehq.org/pipermail/wine-patches/2012-July/116504.html http://www.winehq.org/pipermail/wine-patches/2012-July/116505.html
It's Linux only solution.
Works fine for Windows Essentials. The installer can be run now (but fails later).
http://bugs.winehq.org/show_bug.cgi?id=31487
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #4 from Detlef Riekenberg wine.dev@web.de 2012-10-28 07:06:33 CDT --- Created attachment 42297 --> http://bugs.winehq.org/attachment.cgi?id=42297 Implementation synced to Wine 1.5.16
I updated the code from Nicolay for Wine-1.5.16 (Only the implementation, but not the tests).
Disclaimer: I did not read the comments to the original patch, so i have no idea, what was wrong with the code.
KERNEL32.dll.InitOnceExecuteOnce is also needed for the Office 2013 installer. ba4d28bd03f777a1caaa662751d1b23085ada527 *professionalplus_en-us_x86.exe (Filesize ~650MB: 654858752 byte)
http://bugs.winehq.org/show_bug.cgi?id=31487
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de Summary|Windows Essentials 2012 and |kernel32.dll.InitOnceExecut |.NET Framework 4.5 |eOnce needed for several MS |installer need |installer (Office2013 / |kernel32.dll.InitOnceExecut |Windows Essentials 2012 / |eOnce |.NET Framework 4.5)
http://bugs.winehq.org/show_bug.cgi?id=31487
David Korth gerbilsoft@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gerbilsoft@verizon.net
http://bugs.winehq.org/show_bug.cgi?id=31487
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #5 from André H. nerv@dawncrow.de 2013-01-19 12:16:05 CST --- *** Bug 32755 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #6 from André H. nerv@dawncrow.de 2013-01-19 12:16:55 CST --- putty_arm for jailbroken WinRT needs that, too
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #7 from David Korth gerbilsoft@verizon.net 2013-01-19 12:36:19 CST --- This function appears to be used by the MSVC 2012 runtime, so anything compiled with Visual C++ 2012 will not run on Wine until InitOnceExecuteOnce() is implemented.
http://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32768
http://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32766
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #8 from André H. nerv@dawncrow.de 2013-02-12 16:16:29 CST --- @Detlef: Only reply i found was: http://www.winehq.org/pipermail/wine-devel/2012-July/096399.html
@Nikolay: Could you please have a look at this again? Nearly every Win32/ARM app wants that (compiled by VS 2012)
http://bugs.winehq.org/show_bug.cgi?id=31487
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2013-02-12 21:31:44 CST --- (In reply to comment #8)
@Detlef: Only reply i found was: http://www.winehq.org/pipermail/wine-devel/2012-July/096399.html
@Nikolay: Could you please have a look at this again? Nearly every Win32/ARM app wants that (compiled by VS 2012)
The part of this comment about generic implementation is what's important. I don't know how to do that.
http://bugs.winehq.org/show_bug.cgi?id=31487
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=30164
--- Comment #10 from André H. nerv@dawncrow.de 2013-02-13 14:28:45 CST --- Maybe this depends on bug 30164
http://bugs.winehq.org/show_bug.cgi?id=31487
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32991
http://bugs.winehq.org/show_bug.cgi?id=31487
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |levanchelidze@gmail.com
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com 2013-02-22 11:11:20 CST --- *** Bug 33039 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
nick@nickhowes.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@nickhowes.co.uk
--- Comment #12 from nick@nickhowes.co.uk 2013-03-20 12:01:41 CDT --- Tried SourceTreeSetup.exe (http://www.sourcetreeapp.com/download/) with wine 1.5.26 and the installer failed on this missing function.
http://bugs.winehq.org/show_bug.cgi?id=31487
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=31487
chizu@spicious.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chizu@spicious.com
http://bugs.winehq.org/show_bug.cgi?id=31487
Hesham Saleh HeshamSL65+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |HeshamSL65+winehq@gmail.com
--- Comment #13 from Hesham Saleh HeshamSL65+winehq@gmail.com 2013-04-15 05:25:04 CDT --- Here is another try of SourceTreeSetup.exe with wine-1.5.28.
http://bugs.winehq.org/show_bug.cgi?id=31487
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |afx@afximages.com
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com 2013-04-16 07:17:40 CDT --- *** Bug 33403 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
Robert Munteanu robert.munteanu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robert.munteanu@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zubozrout@gmail.com
--- Comment #15 from Anastasius Focht focht@gmx.net 2013-04-24 16:30:15 CDT --- *** Bug 31468 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #16 from Anastasius Focht focht@gmx.net 2013-04-28 06:11:47 CDT --- Hello folks,
"Classic Shell/Classic Start Menu" also needs this now that bug 32878 is resolved.
Last comment: http://www.winehq.org/pipermail/wine-devel/2012-July/096399.html
--- quote --- It's supposed to return an NTSTATUS, not a boolean. Also you have to always return the context, and you should try to do a generic implementation first. --- quote ---
- atomic compare and exchange ops -> InterlockedCompareExchange - init race lost and need to wait for winning thread? -> small sleep + loop again (avoid more waitable objects to block/release waiters)
MSDN article about the usage patterns: https://blogs.msdn.com/b/oldnewthing/archive/2011/04/08/10151258.aspx
This blocks quite a number of applications...
$ wine --version wine-1.5.29-38-g8e4317c
Regards
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com 2013-04-28 09:51:11 CDT --- I think the main thing to fix was about generic implementation, which I failed to provide.
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #18 from André H. nerv@dawncrow.de 2013-04-28 10:05:24 CDT --- (In reply to comment #17)
I think the main thing to fix was about generic implementation, which I failed to provide.
I guess that's what AF means with - atomic compare and exchange ops -> InterlockedCompareExchange
http://bugs.winehq.org/show_bug.cgi?id=31487
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.artem@mailcity.com
--- Comment #19 from Artem S. Tashkinov t.artem@mailcity.com 2013-05-07 03:28:57 CDT --- Kepler Bios Editor v1.1.rar is also affected by this issue.
http://bugs.winehq.org/show_bug.cgi?id=31487
romulasry@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |romulasry@gmail.com
--- Comment #20 from romulasry@gmail.com 2013-05-10 16:53:04 CDT --- http://bugs.winehq.org/show_bug.cgi?id=31349 is also affected by this issue.
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #21 from romulasry@gmail.com 2013-05-10 16:55:56 CDT --- InitOnceExecuteOnce function MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms683493(v=vs.85).as...
This should be a bug for 1.6 wine...
http://bugs.winehq.org/show_bug.cgi?id=31487
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fael_mc@msn.com
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com 2013-06-24 07:42:43 CDT --- *** Bug 33875 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |f1023173@rmqkr.net
--- Comment #23 from Dan Kegel dank@kegel.com 2013-07-09 13:10:24 CDT --- *** Bug 33995 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
lilydjwg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lilydjwg@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dod.doron@gmail.com
--- Comment #24 from Bruno Jesus 00cpxxx@gmail.com 2013-08-20 18:43:23 CDT --- *** Bug 34309 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel32.dll.InitOnceExecut |kernel32.dll.InitOnceExecut |eOnce needed for several MS |eOnce needed for several MS |installer (Office2013 / |installer (Office2013 / |Windows Essentials 2012 / |Windows Essentials 2012 / |.NET Framework 4.5) |.NET Framework 4.5 / | |Skydrive / ARM | |Applications)
http://bugs.winehq.org/show_bug.cgi?id=31487
Brad Pitcher bradpitcher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bradpitcher@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
Pieter Ideler pieter.ideler@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pieter.ideler@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31487
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #25 from Austin English austinenglish@gmail.com 2013-08-29 14:07:37 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/1992f5005c9765bbf648ac884c8...
Windows Essentials now fails on missing: KERNEL32.dll.CreateHardLinkTransactedW
I'll file a new bug for it.
http://bugs.winehq.org/show_bug.cgi?id=31487
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1992f5005c9765bbf648ac884c8 | |a7f9bfdaa929d
http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #26 from Bruno Jesus 00cpxxx@gmail.com 2013-08-29 14:13:00 CDT --- (In reply to comment #25)
Windows Essentials now fails on missing: KERNEL32.dll.CreateHardLinkTransactedW
I'll file a new bug for it.
That is bug 32229.
http://bugs.winehq.org/show_bug.cgi?id=31487
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Alexandre Julliard julliard@winehq.org 2013-08-30 13:05:55 CDT --- Closing bugs fixed in 1.7.1.
http://bugs.winehq.org/show_bug.cgi?id=31487
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |31349
http://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |igor.demyanov@gmail.com
--- Comment #28 from Anastasius Focht focht@gmx.net 2013-09-21 05:25:34 CDT --- *** Bug 34562 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rodo@bloerp.de
--- Comment #29 from Bruno Jesus 00cpxxx@gmail.com 2013-09-30 07:19:58 CDT --- *** Bug 34629 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=31487
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
http://bugs.winehq.org/show_bug.cgi?id=31487
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #30 from Alexandre Julliard julliard@winehq.org 2013-11-15 13:40:26 CST --- Removing 1.6.x milestone from bugs included in 1.6.1.
https://bugs.winehq.org/show_bug.cgi?id=31487
pbrilleaud@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pbrilleaud@wanadoo.fr
https://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel32.dll.InitOnceExecut |Multiple applications and |eOnce needed for several MS |installers crash on |installer (Office2013 / |unimplemented function |Windows Essentials 2012 / |KERNEL32.dll.InitOnceExecut |.NET Framework 4.5 / |eOnce (MS Office 2013, |Skydrive / ARM |Windows Live Essentials |Applications) |2012, .NET Framework 4.5, | |Skydrive, Adobe Lightroom, | |WinRT/ARM Applications) URL|http://g.live.com/1rewlive5 |https://web.archive.org/web |-all/en/wlsetup-all.exe |/20120811092719/http://wl.d | |lservice.microsoft.com/down | |load/A/0/F/A0F94822-A535-42 | |7C-9A95-507A3566F287/en/wls | |etup-all.exe
https://bugs.winehq.org/show_bug.cgi?id=31487
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|32991 |