http://bugs.winehq.org/show_bug.cgi?id=11973
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2008-03-14 11:22:03 --- Okay, that GUID (31d1adc1-d329-11d1-8ed8-0080c76516c6) is registered during the installation of the .NET 2.0 framework, according to the registry log I found here: http://blogs.msdn.com/astebner/archive/2005/08/13/451338.aspx
If you look closely at the log, you'll notice this entry: MSI (s) (18:D0) [09:59:54:250]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Cryptography\Providers\Trust\FinalPolicy{31D1ADC1-D329-11D1-8ED8-0080C76516C6},,BinaryType=0) MSI (s) (18:D0) [09:59:54:250]: Executing op: RegAddValue(Name=$Function,Value=CORPolicyEE,) MSI (s) (18:D0) [09:59:54:250]: Executing op: RegAddValue(Name=$DLL,Value=mscorsec.dll,)
So even if softpub.dll is fleshed out--and copying code from wintrust.dll might just work--it'll still fail unless .NET 2.0 is installed.