http://bugs.winehq.org/show_bug.cgi?id=18797
--- Comment #8 from Ge van Geldorp ge@gse.nl 2009-06-15 06:11:18 --- Full repro instructions: 1) run wine /path/to/setup.exe 2) "Next" on Welcome page 3) "Next" on nodelock license page 4) "Next" on Destination Location page 5) "Yes" on Confirm creation of directory messagebox 6) "Next" on Environment page 7) "Yes" on Confirm creation of directory messagebox 8) Select "Custom" on Setup Type page, "Next" 9) "Next" on ChooseLang page 10) Select "ADD - CATIA - ..." on MediaProduct page, "Next" 11) Select "E5I - ENOVIA Plug-In Product" on ExtraProduct page 12) When you press "Next" on ExtraProduct page installer will exit without any further messages.
I believe the problem is not in GetUserNameExW() but in LsaEnumerateAccountRights(). Program logic seems to be:
if (GetUserNameEx(...)) { LsaOpenPolicy(...) LookupAccountNameW(...) if (! NT_SUCCESS(LsaEnumerateAccountRights(...)) ExitProcess(...) }
Implementation of GetUserNameEx() now causes a call to LsaEnumerateAccountRights() to be made which fails because that function is not implemented. When I change LsaEnumerateAccountRights() to return success with 0 privileges the installer continues.
I'll see if I can create an implementation for LsaEnumerateAccountRights().