http://bugs.winehq.org/show_bug.cgi?id=28359
--- Comment #12 from Juan Lang juan_lang@yahoo.com 2011-09-14 10:47:32 CDT --- (In reply to comment #11)
Applying that patch doesn't change the behaviour of the installer--it still exits after downloading (on first time) and exits with the original error message on subsequent runs.
The log looks the same as well... attached for completeness.
The behavior isn't quite the same, the error code is different ;) At this point I don't know what the problem is: when I test WinVerifyTrust with an empty file, it fails on Windows as well. So perhaps the file shouldn't be empty, and the bug is not actually an authenticode bug.
What happens if you repeat the same actions on Windows? Does the same file get created? How big is it?