http://bugs.winehq.org/show_bug.cgi?id=22580
--- Comment #23 from joakim.tjernlund@transmode.se 2010-05-08 04:22:33 --- (In reply to comment #22)
(In reply to comment #21)
hmm, in those failed cases even unregister fails so it seems one should not use tmo == 0 in later versions. So my test case isn't valid for later versions of windows dunno how to encode that into the test case.
The problem may be related to win9x version of crypt32.dll. Try with win2k+ version instead and see how it goes.
No, the problem is that <= XP expects tmo = 0 to behave as my patch does and never Windows has changed behavior. See comment #19 It seems like tmo = 0 and !execcuteOnce is an invalid combo as even unregister fails.
If the above is correct, then my patch improves Wine for all Windows versions. Older SW that do use tmo = 0 and !execcuteOnce works and newer SW does not use this combo at all as it seems invalid.
Does anyone have a better explanation for what tmo = 0 and !execcuteOnce is expected to do on >= Vista?