http://bugs.winehq.org/show_bug.cgi?id=16239
Summary: Cake Poker installer requires native msxml3 Product: Wine Version: 1.1.9 Platform: PC URL: http://cakepoker.com/Download/PostDownload.aspx OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
Created an attachment (id=17499) --> (http://bugs.winehq.org/attachment.cgi?id=17499) Cake Poker installer msxml traces
With today's Git (wine-1.1.9-139-g8cdbeac), when starting the installer, during the install phase, a dialog box appears with the message:
"Failed to copy 'C:\windows\temp\42238.exe' to 'C:\Program Files\.exe", error: File not found (2)"
Using the suggestion from the AppDB entry for the application to install native msxml3, the installation succeeds. msxml traces are attached.
http://bugs.winehq.org/show_bug.cgi?id=16239
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
http://bugs.winehq.org/show_bug.cgi?id=16239
Niko Sandschneider nsandschn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nsandschn@gmx.de
--- Comment #1 from Niko Sandschneider nsandschn@gmx.de 2009-08-09 10:59:47 --- Confirming with wine 1.1.27
http://bugs.winehq.org/show_bug.cgi?id=16239
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-08-16 15:53:56 --- confirmed per comment 1
http://bugs.winehq.org/show_bug.cgi?id=16239
Mike Kaplinskiy mike.kaplinskiy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.kaplinskiy@gmail.com
--- Comment #3 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2009-08-16 18:32:14 --- The cause is the designer's invalid use of XPath and microsoft supporting it, as well as a wine bug.
The installer defines an xml with namespaces: <?xml version="1.0" encoding="UTF-8"?> <skin_info xmlns="http://cakepoker.com/cakepokerclient/2008/05/EN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cakepoker.com/cakepokerclient/2008/05/EN ../SkinXMLSchema.xsd">
But then uses xpath without namespaces: trace:msxml:xmlnode_selectSingleNode 0x1432c0 L"//ClientSettings[((@Language="EN") or not(@Language))]/@ProductName" 0x32fbc8
This is illegal xpath since you have to specify a namespace for ClientSettings (according to libxml2: ClientSettings will be in the ``null'' namespace and not the default namespace). Wine actually doesn't define any namespaces before doing the xpath query (even those present in the document) so no xpath query with namespaced documents should work right now. But even once that is fixed, this won't work either.
There is no easy way to work around this without rewriting the passed xpath and adding some sort of namespace instead of the null namespace.
http://bugs.winehq.org/show_bug.cgi?id=16239
--- Comment #4 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-01-16 13:45:18 --- This seems to have been fixed in the latest installer (developers removed the xmlns attribute on the root element). There are still errors from libxml2 but the program seems to install fine. The errors look like:
trace:msxml:domdoc_get_documentElement 0x164758 ... trace:msxml:xmlnode_selectSingleNode 0x1692d8 L"//en:TfrmSetupMain" 0x32fa90 trace:msxml:xmlnode_selectNodes 0x1692d8 L"//en:TfrmSetupMain" 0x32f8f8 trace:msxml:queryresult_create (0x7cbb7df8, L"//en:TfrmSetupMain", 0x32f8f8) XPath error : Undefined namespace prefix xmlXPathEval: evaluation failed
The log doesn't show the setup trying to set the SelectionNamespaces property, so I'm not quite sure how the above is supposed to work at all. Seems that IF this works in msxml, then it actually uses a different namespace list when the lookup is done on a specific node as opposed to a document, which is highly unlikely. But we don't even know if this does work in native.
This bug should probably be closed as WORKSFORME
http://bugs.winehq.org/show_bug.cgi?id=16239
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #5 from Austin English austinenglish@gmail.com 2010-01-16 14:45:05 --- Marking WORKSFORME.
http://bugs.winehq.org/show_bug.cgi?id=16239
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com 2010-01-16 14:45:12 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=16239
--- Comment #7 from Andrew Nguyen arethusa26@gmail.com 2010-01-16 17:10:19 --- I still possess the original installer, FullcakeSetup1.0.117.exe, which still exhibits the original issue. Shall I reopen?
http://bugs.winehq.org/show_bug.cgi?id=16239
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|WORKSFORME |
--- Comment #8 from Austin English austinenglish@gmail.com 2010-01-16 18:16:44 --- (In reply to comment #7)
I still possess the original installer, FullcakeSetup1.0.117.exe, which still exhibits the original issue. Shall I reopen?
Sure, sorry about that.
http://bugs.winehq.org/show_bug.cgi?id=16239
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #9 from Austin English austinenglish@gmail.com 2010-01-16 18:16:54 --- And, confirming.
http://bugs.winehq.org/show_bug.cgi?id=16239
--- Comment #10 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-01-16 18:40:09 --- Andrew, can you post the old setup somewhere (if that's legal)? I'd like to debug it some more.
http://bugs.winehq.org/show_bug.cgi?id=16239
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://cakepoker.com/Downlo |http://scguy318.freeshell.o |ad/PostDownload.aspx |rg/FullcakeSetup.1.0.117.ex | |e
--- Comment #11 from Andrew Nguyen arethusa26@gmail.com 2010-01-16 19:12:31 --- Sure, I've uploaded the installer to a personal account, and I've updated the URL accordingly.
http://bugs.winehq.org/show_bug.cgi?id=16239
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #12 from Dan Kegel dank@kegel.com 2010-01-18 18:02:22 --- Andrew, please post the sha1 checksum, too.
http://bugs.winehq.org/show_bug.cgi?id=16239
--- Comment #13 from Andrew Nguyen arethusa26@gmail.com 2010-01-18 20:17:04 --- Good point. sha1sum reports:
ffe9a133b27319f96c576254c84385b4de229089 FullcakeSetup.1.0.117.exe
http://bugs.winehq.org/show_bug.cgi?id=16239
--- Comment #14 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-02-04 20:34:05 --- Seems the problem is that the installer requests an ancient version of msxml (ie before 3), which means it expects XSLT Pattern matching and not XPath. (Hooray for reading msdn instead of blaming microsoft...)
Wine's msxml doesn't have xsl pattern implemented, and it doesn't seem like libxml2 nor libxslt support them (the latter does, but only with xslt transformations). From the short description http://saxon.sourceforge.net/saxon6.5.3/patterns.html it looks very similar to xpath but seems to be completely namespace unaware.
We would probably want to just write a converter to xpath.
http://bugs.winehq.org/show_bug.cgi?id=16239
Adam Martinson amartinson@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |amartinson@codeweavers.com
--- Comment #15 from Adam Martinson amartinson@codeweavers.com 2010-10-25 22:31:05 CDT --- Can someone try this again with current git? XSLPattern queries should work now.
http://bugs.winehq.org/show_bug.cgi?id=16239
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #16 from Andrew Nguyen arethusa26@gmail.com 2010-10-25 23:14:06 CDT --- The installer doesn't crash for me anymore, so marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=16239
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2010-10-29 12:56:55 CDT --- Closing bugs fixed in 1.3.6.