http://bugs.winehq.org/show_bug.cgi?id=24161
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-26 15:00:11 --- (In reply to comment #6)
Hello,
--- quote --- the application starts fine on my VM Windows XP without the registry key, so it's a bit of a mystery why it crashes in wine. Setting component to unknown. --- quote ---
Wine exports Vista+ API (despite reporting itself as "Windows XP") hence the application assumes it is actually running under Vista or later.
http://msdn.microsoft.com/en-us/library/ms724358.aspx
--- snip --- 0009:Call KERNEL32.GetProcAddress(7b810000,0049b1f0 "GetProductInfo") ret=0049b1e2 0009:Ret KERNEL32.GetProcAddress() retval=7b821a80 ret=0049b1e2 0009:Call advapi32.RegOpenKeyExA(80000002,0054cac0 "Software\Microsoft\Windows\CurrentVersion\Policies\System",00000000,000f003f,0032eed4) ret=00448633 0009:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=00448633 0009:Call advapi32.RegQueryValueExA(00000000,0054cb04 "EnableLUA",00000000,0032eeb4,0032eec8,0032eec4) ret=00448e10 0009:Ret advapi32.RegQueryValueExA() retval=00000006 ret=00448e10 0009:Call user32.LoadStringA(00400000,0000ff7a,0032de50,00001000) ret=00408577 0009:Ret user32.LoadStringA() retval=0000001b ret=00408577 0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0032ee84) ret=00448e38 0009:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b835b72 ip=7b835b72 tid=0009 t --- snip ---
If Wine unconditionally exports GetProductInfo() it also has to provide the registry keys the application expects to see on a Vista system.
Regards
Ok thanks for the info. I guess it's okay then to set the registry key by default. I'll send a patch