http://bugs.winehq.org/show_bug.cgi?id=14381
Summary: Google Lively installer does not work Product: Wine Version: CVS/GIT Platform: Other URL: http://www.lively.com/install OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jeffzaroyko@gmail.com
Created an attachment (id=14679) --> (http://bugs.winehq.org/attachment.cgi?id=14679) +relay,+seh,+tid
wine-1.1.0-402-g4904c80, installed firefox3.
The installer livelysetup.exe (sha1 220aba6d869e5c52428c7efbd249d7c89e95e77b) exits silently.
http://bugs.winehq.org/show_bug.cgi?id=14381
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #1 from Lei Zhang thestig@google.com 2008-07-08 20:41:01 --- confirming
http://bugs.winehq.org/show_bug.cgi?id=14381
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Component|-unknown |winhttp
--- Comment #2 from Dan Kegel dank@kegel.com 2008-07-09 08:53:57 --- The key line is probably fixme:winhttp:WinHttpOpen ((null), 1, (null), (null), 0x0): stub
http://bugs.winehq.org/show_bug.cgi?id=14381
Justin Harris justin.w.harris@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |justin.w.harris@gmail.com
--- Comment #3 from Justin Harris justin.w.harris@gmail.com 2008-07-23 10:51:45 --- (In reply to comment #2)
The key line is probably fixme:winhttp:WinHttpOpen ((null), 1, (null), (null), 0x0): stub
Found this is fixed by copying XP's winhttp.dll. After that, I now receive a window that says:
Google update installation failed with error0x800b010f.
and in terminal: Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdlegacy Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdlegacy fixme:advapi:CheckTokenMembership ((nil) 0x153ef0 0x33fb50) stub! fixme:process:SetProcessShutdownParameters (00000280, 00000001): partial stub. fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),6,2,(nil),64,(nil)) - stub! fixme:advapi:CheckTokenMembership ((nil) 0x154a90 0x33f608) stub! fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:advapi:CheckTokenMembership ((nil) 0x155fb8 0x33f520) stub! fixme:advapi:CheckTokenMembership ((nil) 0x155fb8 0x33f510) stub! err:ole:CoGetClassObject class {148bd52a-a2ab-11ce-b11f-00aa00530503} not registered err:ole:CoGetClassObject no class object {148bd52a-a2ab-11ce-b11f-00aa00530503} could be created for context 0x1 err:ole:CoGetClassObject class {148bd52a-a2ab-11ce-b11f-00aa00530503} not registered err:ole:CoGetClassObject no class object {148bd52a-a2ab-11ce-b11f-00aa00530503} could be created for context 0x1 fixme:msxml:domdoc_documentElement fixme:msxml:DllCanUnloadNow fixme:msxml:DllCanUnloadNow
http://bugs.winehq.org/show_bug.cgi?id=14381
Sherwin Soltani shercipher@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shercipher@yahoo.com
--- Comment #4 from Sherwin Soltani shercipher@yahoo.com 2008-07-24 13:51:02 --- (In reply to comment #3)
Found this is fixed by copying XP's winhttp.dll.
This does not seem to have any effect for me (wine-1.0-fc9.i386).
http://bugs.winehq.org/show_bug.cgi?id=14381
Andre Wisplinghoff andre.wisplinghoff@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andre.wisplinghoff@gmail.com
--- Comment #5 from Andre Wisplinghoff andre.wisplinghoff@gmail.com 2008-07-29 14:56:22 --- With current git, using native winhttp helps getting a bit further (like Justin posted). I get even a little more output (rest of messages is the same):
fixme:crypt:CertNameToStrW unsupported flags: 12000000 err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"mstask.dll"
the first line is repeated a few dozen times. The unsupported flags translate to CERT_NAME_STR_NO_QUOTING_FLAG and CERT_NAME_STR_REVERSE_FLAG - but I don't know if this this is really important.
http://bugs.winehq.org/show_bug.cgi?id=14381
Roy Shea royshea@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |royshea@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #6 from Roy Shea royshea@gmail.com 2008-07-29 15:39:12 --- (In reply to comment #5)
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"mstask.dll"
I'm working on implementing enough of mstask to make the Lively installer not break on mstask.dll. The registry entry for mstask.dll went into git this morning and with a bit of work the rest of the patch set will be added into git over the next week or so.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #7 from Roy Shea royshea@gmail.com 2008-08-05 19:47:30 --- Created an attachment (id=15313) --> (http://bugs.winehq.org/attachment.cgi?id=15313) mstask patch set
Using the current git (from commit 520ab5c26) and the proposed mstask patch set helps the lively installer get further along. At this point the installer appears to give up after repeated attempts to use RasEnumConnectionsW fail.
http://bugs.winehq.org/show_bug.cgi?id=14381
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-06 05:40:27 --- Hi Roy, i tried your patches and see the same behaviour as you. I was able to start the download by using native msxml3 and shlwapi, so looks like there are 2 more bugs to solve before the download will finish
After that it reports an installation error as it tries start the installation:
err:msi:ITERATE_Actions Execution halted, action L"LaunchConditions" returned 1603
So that's 3rd bug to solve i guess. With a stupid hack in msi returning ERROR_SUCCESS i was able to install the app, and start it (needs native msxml3 as well)
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #9 from Dan Kegel dank@kegel.com 2008-08-06 22:56:15 --- Thanks for the info, Louis!
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #10 from Roy Shea royshea@gmail.com 2008-08-07 19:46:13 --- Created an attachment (id=15343) --> (http://bugs.winehq.org/attachment.cgi?id=15343) +msi
I took a second swing at the installer using insites from Louis and managed to get a bit further. My current setup uses:
- mstask patchset - Native versions of winhttp, msxml3, msxml3r, and shlwapi
With this setup I was able to reproduce Louis's MSI error. A full log of running the installer with the msi channel is attached.
It's my first time looking at MSI, but here is my current best guess. It looks like the failure stems from directx not being found when checking the LaunchConditions. Perhaps the error code returned by the failure of LaunchConditions is propagating to the subsequent InstallExecuteSequence action in the installer, rather than causing the installation to fail.
Installing directx9 allows the installer to complete without needing to resort to the "ERROR_SUCCESS" msi hack. At this point Lively starts up with a welcome screen and login. Attempts to log in timeout with the warning:
"fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!"
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #11 from James Hawkins truiken@gmail.com 2008-08-07 19:48:40 --- That's not a bug in MSI. If one of the LaunchConditions isn't satisfied, the installer fails; same thing happens in Windows.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #12 from Roy Shea royshea@gmail.com 2008-08-07 20:12:51 --- (In reply to comment #11)
Ah, yes. Thank you for the clarification! I hadn't realized that -3 was a valid sequence for InstallExecuteSequence. Now I see that -3 is simply the expected msiDoActionStatusFailure.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #13 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-08 02:41:59 --- Looks like this is the culkpritt:
0019:Call advapi32.RegOpenKeyExW(80000002,100021d0 L"SOFTWARE\Microsoft\DirectX",00000000,00000001,61239744) ret=10001275 0019:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=10001275 0019:Call advapi32.RegQueryValueExW(00000080,10002208 L"InstalledVersion",00000000,61239754,61239748,61239740) ret=100012bc 0019:Ret advapi32.RegQueryValueExW() retval=00000002 ret=100012bc
Adding the key InstalledVersion (with value 00 00 00 09 00 00 00 00 like it says on windows) makes the installer happy. So that 3rd bug is fortunately simple to fix ;)
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #14 from Roy Shea royshea@gmail.com 2008-08-08 17:33:53 --- Created an attachment (id=15354) --> (http://bugs.winehq.org/attachment.cgi?id=15354) Lively Install Recipe
I've attached a revised recipe for running the lively installer in Wine. One of the current problems is missing winhttp functionality, requiring the use of a native winhttp.dll. I took a look at the specific winhttp calls that the installer needs. Looks like the set is:
WinHttpAddRequestHeaders WinHttpCloseHandle WinHttpConnect WinHttpCrackUrl WinHttpGetDefaultProxyConfiguration WinHttpGetIEProxyConfigForCurrentUser WinHttpOpen WinHttpOpenRequest WinHttpQueryDataAvailable WinHttpQueryHeaders WinHttpReadData WinHttpReceiveResponse WinHttpSendRequest WinHttpSetStatusCallback
You can reproduce this list by running the lively installer with:
WINEDEBUG=+snoop ./wine ~/tmp/livelysetup.exe 2>snoop.txt grep WINHTTP dump.txt | tr -s ' ' | cut -f2 -d' ' | cut -f2 -d'.' | cut -f1 -d( | sort | uniq
If any winhttp hackers are looking for something to do... :-)
http://bugs.winehq.org/show_bug.cgi?id=14381
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #15 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-14 06:07:38 --- i think the problem for the download not initializing is in StrCmpNIA
I'll see if i can add a simple test for it, to see if it's really the problem
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #16 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-14 07:06:32 --- huh, forget that last statement, it looks more like a problem in UrlUnEscapeA. The hack/patch below makes the download start fine. This too needs testing
diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c index 03941a9..18df733 100644 --- a/dlls/shlwapi/url.c +++ b/dlls/shlwapi/url.c @@ -1155,7 +1155,7 @@ HRESULT WINAPI UrlUnescapeA( TRACE("(%s, %p, %p, 0x%08x)\n", debugstr_a(pszUrl), pszUnescaped, pcchUnescaped, dwFlags);
- if(!pszUrl || (!pszUnescaped && !(dwFlags & URL_UNESCAPE_INPLACE)) || !pcch + if(!pszUrl || (!pszUnescaped && !(dwFlags & URL_UNESCAPE_INPLACE)) ) return E_INVALIDARG;
if(dwFlags & URL_UNESCAPE_INPLACE)
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #17 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-14 08:37:43 --- Created an attachment (id=15407) --> (http://bugs.winehq.org/attachment.cgi?id=15407) test
here's simplest test-case i could think of. It passes fine with native shlwapi, yet fails in current git
http://bugs.winehq.org/show_bug.cgi?id=14381
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #18 from Hans Leidekker hans@meelstraat.net 2008-08-14 08:57:18 --- Good catch Louis! While you're at it, could you test and fix UrlUnescapeW too?
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #19 from Dan Kegel dank@kegel.com 2008-08-14 09:51:08 --- Gee, we seem to be making progress on this, cool.
I've filed bug 14864 for the msxml3 part of this bug.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #20 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-14 14:12:30 --- Created an attachment (id=15413) --> (http://bugs.winehq.org/attachment.cgi?id=15413) tests for UrlUnEscape{A,W}
tests pass fine for me with native shlwapi, and with wine patched with this patch:
http://www.winehq.org/pipermail/wine-patches/attachments/20080814/d5feb31b/a...
I'll try tidy up them a bit, as it looks still a bit ugly to me
http://bugs.winehq.org/show_bug.cgi?id=14381
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #21 from Hans Leidekker hans@meelstraat.net 2008-08-15 02:25:12 --- The tests look fine. Perhaps you should leave out the string conversions, they only serve an informational purpose so probably they're not worth the code.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #22 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-15 02:46:55 --- (In reply to comment #21)
The tests look fine. Perhaps you should leave out the string conversions, they only serve an informational purpose so probably they're not worth the code.
Hi Hans, thanks for looking. I'll tidy it up a bit and them later in weekend
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #23 from Dan Kegel dank@kegel.com 2008-08-21 13:13:40 --- Hi Louis, can you resend the fix and the tests to wine-patches, now that Alexandre's back? Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #24 from Dan Kegel dank@kegel.com 2008-08-25 21:10:22 --- Louis said he doesn't want to post the patches again, so I did: http://www.winehq.org/pipermail/wine-patches/2008-August/060090.html http://www.winehq.org/pipermail/wine-patches/2008-August/060091.html Let's hope they make it in.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #25 from Hans Leidekker hans@meelstraat.net 2008-08-26 04:40:33 --- This patch set makes the installer work with builtin winhttp: http://www.winehq.org/pipermail/wine-patches/2008-August/060098.html
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #26 from Hans Leidekker hans@meelstraat.net 2008-08-26 08:18:07 --- Patches were committed: http://www.winehq.org/pipermail/wine-cvs/2008-August/046610.html
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #27 from Dan Kegel dank@kegel.com 2008-08-26 11:28:15 --- Yes indeedy, and Roy's mstask patches are all in. So there are only three bugs left keeping the installer from working. Here's a recipe for working around them all:
1. Patch today's git with Louis' reposted shlwapi patches: http://www.winehq.org/pipermail/wine-patches/2008-August/060121.html http://www.winehq.org/pipermail/wine-patches/2008-August/060122.html
2. Copy msxml3.dll and msxml3r.dll from windows xp to system32, and use winecfg to override msxml3 to get around bug 14864. (Sadly, winetricks msxml3 isn't enough, I hear.)
3. winetricks directx9 to get the missing registry setting mentioned in #13
And voila, lively setup works! You can then try logging in by doing winetricks firefox, going to lively.com in firefox, and trying to enter a room. The login dialog pops up, but login fails. (But that's beyond the scope of this bug.)
http://bugs.winehq.org/show_bug.cgi?id=14381
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=14381
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winhttp |directx-d3d Keywords|patch, testcase | Summary|Google Lively installer does|Google Lively installer |not work |aborts because of missing | |directx registry entry
--- Comment #28 from Dan Kegel dank@kegel.com 2008-09-01 17:24:56 --- Louis' shlwapi patch has been in for a few days, so now the recipe is just
1. Copy msxml3.dll and msxml3r.dll from windows xp to system32, and use winecfg to override msxml3 to get around bug 14864.
2. winetricks directx9 to get the missing registry setting mentioned in #13
Since we already have bug 14864 for the msxml3 problem, I guess this bug is just about the missing directx registry entry now, changing category and summary.
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #29 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-02 12:35:17 --- Created an attachment (id=15786) --> (http://bugs.winehq.org/attachment.cgi?id=15786) registry entry patch
I guess this bug is just about the missing directx registry entry now, changing category and summary.
Then the attached patch is enough to fix this bug.i'll give a shot sending it in
http://bugs.winehq.org/show_bug.cgi?id=14381
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #30 from Dan Kegel dank@kegel.com 2008-09-03 11:55:09 --- Please do send it to wine-patches, I bet Alexandre will accept it first try...
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #31 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-03 13:20:16 --- patch sent
http://bugs.winehq.org/show_bug.cgi?id=14381
--- Comment #32 from Roy Shea royshea@gmail.com 2008-09-05 16:19:03 ---
patch sent
Awesome. The patch got committed and clears up the directx problems. The Lively installation now only requires adding native msxml3 as described in bug 14864.
http://bugs.winehq.org/show_bug.cgi?id=14381
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #33 from Austin English austinenglish@gmail.com 2008-09-06 17:32:03 --- This bug is fixed then. Onto bug 14864
http://bugs.winehq.org/show_bug.cgi?id=14381
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #34 from Alexandre Julliard julliard@winehq.org 2008-09-19 11:17:33 --- Closing bugs fixed in 1.1.5.
http://bugs.winehq.org/show_bug.cgi?id=14381
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mclaud2000@tutopia.com
--- Comment #35 from Vitaliy Margolen vitaliy@kievinfo.com 2008-11-15 15:00:50 --- *** Bug 16063 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14381
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified