http://bugs.winehq.org/show_bug.cgi?id=9929
--- Comment #14 from Anastasius Focht focht@gmx.net 2007-10-16 13:04:33 --- Hello,
yes, that problem a bit hard to spot because it does not stop at error. The installer actually verifies a list of files and stores the cert check results in a counter. By debugging the crap out of that installer, I was able to identify the failing one ;-) Armed with that knowledge, one can go back in rather long trace log and find the following offender:
--- snip --- .. 0036:trace:wintrust:WinVerifyTrust (0xffffffff, {fc451c16-ac75-11d1-b4b8-00c04fb66ea0}, 0x33fb64) 0036:trace:wintrust:dump_wintrust_data 0x33fb64 0036:trace:wintrust:dump_wintrust_data cbStruct: 48 0036:trace:wintrust:dump_wintrust_data pPolicyCallbackData: (nil) 0036:trace:wintrust:dump_wintrust_data pSIPClientData: (nil) 0036:trace:wintrust:dump_wintrust_data dwUIChoice: 2 0036:trace:wintrust:dump_wintrust_data fdwRevocationChecks: 00000001 0036:trace:wintrust:dump_wintrust_data dwUnionChoice: 1 0036:trace:wintrust:dump_file_info 0x33fb54 0036:trace:wintrust:dump_file_info cbStruct: 16 0036:trace:wintrust:dump_file_info pcwszFilePath: L"C:\temp\74160442a7e9354b1a648c3d13\update\ie7.cat" 0036:trace:wintrust:dump_file_info hFile: (nil) 0036:trace:wintrust:dump_file_info pgKnownSubject: (null) 0036:trace:wintrust:dump_wintrust_data dwStateAction: 1 0036:trace:wintrust:dump_wintrust_data hWVTStateData: (nil) 0036:trace:wintrust:dump_wintrust_data pwszURLReference: (null) 0036:trace:wintrust:dump_wintrust_data dwProvFlags: 00000140 0036:trace:wintrust:dump_wintrust_data dwUIContext: 1 0036:trace:wintrust:WINTRUST_DefaultVerify (0xffffffff, {fc451c16-ac75-11d1-b4b8-00c04fb66ea0}, 0x33fb64) 0036:trace:wintrust:WintrustLoadFunctionPointers ({fc451c16-ac75-11d1-b4b8-00c04fb66ea0} 0x12dae8) 0036:trace:wintrust:WintrustGetRegPolicyFlags 0x137758 0036:trace:wintrust:SoftpubInitialize (0x137738) 0036:trace:wintrust:SoftpubInitialize returning 00000000 0036:trace:wintrust:SoftpubLoadMessage (0x137738) 0036:trace:wintrust:SOFTPUB_OpenFile returning 1 0036:trace:wintrust:SOFTPUB_GetFileSubject returning 0 0036:trace:wintrust:SoftpubLoadMessage returning 1 (800b0003) 0036:trace:wintrust:WINTRUST_DefaultVerify returning 00000001 0036:trace:wintrust:WinVerifyTrust returning 00000001 .. --- snip ---
"ie7.cat" is the failing one -> 0x800b0003 -> TRUST_E_SUBJECT_FORM_UNKNOWN
All other files are successfully verified. And of course - pPolicyStatus->dwError - is really checked ;-)
Regards