http://bugs.winehq.org/show_bug.cgi?id=10698
Summary: Windows Installer 3.1 Incorrectly verifies Product: Wine Version: 0.9.50. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: wine-advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: kjmph@hotmail.com
Created an attachment (id=9534) --> (http://bugs.winehq.org/attachment.cgi?id=9534) Log from trying to install package
This bug stops all installations of packages using Windows Installer 3.1 in the update.exe format. Unfortunately, more and more packages are coming this way.
The presentation to the end user is a windows dialog box with the message, "Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer."
However, the log implies more than just that. See attached.
http://bugs.winehq.org/show_bug.cgi?id=10698
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Component|wine-advapi32 |wine-crypt32
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-12-07 09:47:07 --- This is yet another app that depends on catalog files being implemented, apparently. The component really should be wintrust rather than crypt32, but there isn't such a component.
By the way, this isn't a blocker. Please read the severity descriptions when choosing (or just use the default severity.)
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #2 from Bryan DeGrendel sirnuke@gmail.com 2007-12-18 07:16:18 --- Created an attachment (id=9680) --> (http://bugs.winehq.org/attachment.cgi?id=9680) Quick hack to force successful verification.
A quick hack to this problem is to force WinVerifyTrust to return a success code. Obviously not a patch for the actual wine tree.
Using this I was able to get past the initial speed bump, but the installation failed due to unimplemented log parsing functions in setupapi.dll.
http://bugs.winehq.org/show_bug.cgi?id=10698
Bryan DeGrendel sirnuke@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sirnuke@gmail.com
--- Comment #3 from Bryan DeGrendel sirnuke@gmail.com 2007-12-18 07:23:19 --- Also, a quick bit of research notes:
CryptCATAdminCalcHashFromFileHandle (currently a stub in WINE) reads a file, performs something called a C14 Normalization (which is undocumented by Microsoft, but appears to remove any platform specific parts of the file), and performs a SHA1 hash on the result.
https://www.cryptguard.com/files/codesigningx86.exe Installs a collection of tools for generating catalog signatures. http://groups.google.com/group/microsoft.public.platformsdk.security/browse_... Thread somewhat related to CryptCATAdminCalcHashFromFileHandle. http://www.jensign.com/hash/ Short article on the hash function the catalogs use.
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #4 from Kyle Hubert kjmph@hotmail.com 2007-12-20 14:47:35 --- Thanks for the patch. I am now able to install the Windows Media Format 11 for Windows Media Player 10. I didn't have an error with SetupAPI, but I am using an IEs4Linux Wine dir.
Unfortunately, Netflix's Movie Player still can't acquire the DRM license. I'll open a new bug.
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-20 17:24:27 --- (In reply to comment #4)
an IEs4Linux Wine dir.
Don't do that. All reports while using IEs4Linux will be marked invalid.
Unfortunately, Netflix's Movie Player still can't acquire the DRM license. I'll open a new bug.
Don't bother. This part will never work on Wine.
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #6 from Kyle Hubert kjmph@hotmail.com 2007-12-20 21:36:25 --- (In reply to comment #5)
(In reply to comment #4)
an IEs4Linux Wine dir.
Don't do that. All reports while using IEs4Linux will be marked invalid.
This bug was tested and verified in a default Wine configuration. It deserves it's sunshine.
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #7 from Bryan DeGrendel sirnuke@gmail.com 2007-12-21 05:24:17 --- (In reply to comment #5)
(In reply to comment #4)
an IEs4Linux Wine dir.
Don't do that. All reports while using IEs4Linux will be marked invalid.
I can confirm that this bug exists on a clean WINE installation. It is not caused by IEs4Linux.
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #8 from Austin English austinenglish@gmail.com 2007-12-21 09:04:36 --- Can either of you link to a small program showing this problem?
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #9 from Kyle Hubert kjmph@hotmail.com 2007-12-21 14:42:51 --- (In reply to comment #8)
Can either of you link to a small program showing this problem?
Sure, here is a link pointing to Microsoft's site for downloading Windows Installer 3.1:
http://www.microsoft.com/downloads/details.aspx?FamilyID=889482FC-5F56-4A38-...
Make sure you follow the workaround that is listed in the following bug. (Link drive_c to harddiskvolume1, then modify the drive in winecfg)
http://bugs.winehq.org/show_bug.cgi?id=5351
http://bugs.winehq.org/show_bug.cgi?id=10698
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download, Installer
--- Comment #10 from Austin English austinenglish@gmail.com 2007-12-27 09:41:23 --- Confirming in wine 0.9.51, ubuntu feisty.
http://bugs.winehq.org/show_bug.cgi?id=10698
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|crypt32 |wintrust
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2008-02-14 15:47:46 --- This one's in wintrust, moving component.
http://bugs.winehq.org/show_bug.cgi?id=10698
scguy318 nodisgod@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nodisgod@yahoo.com
--- Comment #12 from scguy318 nodisgod@yahoo.com 2008-04-03 03:21:18 --- This is still a problem with current Git.
http://bugs.winehq.org/show_bug.cgi?id=10698
scguy318 nodisgod@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |12477
http://bugs.winehq.org/show_bug.cgi?id=10698
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|12477 |
http://bugs.winehq.org/show_bug.cgi?id=10698
Jan Niklas Hasse jhasse@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jhasse@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=10698
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #13 from Dan Kegel dank@kegel.com 2008-07-05 09:43:08 --- This affects Yahoo Music Player (bug 9749) and also the xmllite installer (http://support.microsoft.com/kb/915865). (To get to this bug on xmllite installer, you have to do "winetricks volnum" first.)
Bryan's hack doesn't help xmllite installer. The log shows:
0029:Call advapi32.OpenServiceA(0014c778,010224fc "Cryptsvc",e0000000) ret=0106585f ... 0029:Ret advapi32.OpenServiceA() retval=00000000 ret=0106585f ... 0029:Call msvcrt._vsnprintf(0033b4f3,000007f7,01022568 "UdpStopService: OpenService failed :0x%lx",0033bd24) ret=0106b900 ... trace:text:DrawTextExW L"Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer.", -1, [(0,0)-(352,0)] 00000450
http://bugs.winehq.org/show_bug.cgi?id=10698
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #14 from Juan Lang juan_lang@yahoo.com 2008-07-05 20:42:39 --- (In reply to comment #13)
0029:Call advapi32.OpenServiceA(0014c778,010224fc "Cryptsvc",e0000000) ret=0106585f
Odd. Are you using any native DLLs? I didn't realize any external programs depend on the crypto service.
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #15 from Dan Kegel dank@kegel.com 2008-07-06 00:28:16 --- This was with a clean .wine directory. The only external program involved was WindowsXP-KB915865-v11-x86-ENU.exe, the xmllite installer.
http://bugs.winehq.org/show_bug.cgi?id=10698
Michał Majchrowicz mmajchrowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mmajchrowicz@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=10698
--- Comment #16 from Austin English austinenglish@gmail.com 2008-11-10 23:27:50 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=10698
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Hans Leidekker hans@meelstraat.net 2009-01-06 07:03:37 --- Fixed. To test, set Windows version to win2k with winecfg, or the installer will claim you don't need it.
http://bugs.winehq.org/show_bug.cgi?id=10698
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2009-01-16 10:37:23 --- Closing bugs fixed in 1.1.13.