https://bugs.winehq.org/show_bug.cgi?id=31744
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Nikolay,
--- quote --- RegGetValueW() already returns Win32 error, no need to map it. I'll try to add a mapping for 0x00000002 NTSTATUS anyway. --- quote ---
Yes, that call to 'LsaNtStatusToWinError' looks fishy. Anyway, even with _some_ mapping it doesn't change the end result, so don't bother with it. The registry data should have been present in first place (broken installer).
Here is a good article about error code formats/conversion/mapping: http://jpassing.com/2007/08/20/error-codes-win32-vs-hresult-vs-ntstatus/
Regards