* On Sun, 3 Jun 2007, Juan Lang wrote:
This function tries to open Software_Publishing key.
...
So this key should be registered during wineprefix run at some point, right?
No, it's simpler than that, the order of the tests is merely wrong. WintrustGetRegPolicyFlags calls WintrustSetRegPolicyFlags with the default value if the registry value doesn't exist. The call to WintrustGetRegPolicyFlags (line 333) should precede the RegOpenKeyExW call (line 325-326.)
Well, I didn't dig into this yet, but on Windows tests aren't failing. So I guess this key arrives during Windows setup process. Can't be so?