http://bugs.winehq.org/show_bug.cgi?id=14035
Summary: Microsoft Virtual Earth 3D beta installer fails to download .net framework Product: Wine Version: CVS/GIT Platform: Other URL: http://www.microsoft.com/Downloads/details.aspx?FamilyID =e9298080-50c4-4f2e-9fc4-4009074996ba&displaylang=en OS/Version: other Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
To get past bug 11517, do 'winetricks gdiplus'. The next problem is it fails downloading .net 2.0 sp1. The installer offers to show you a log, but can't find the log itself when you ask; it's really at ~/.wine/dosdevices/c:/windows/temp/VirtualEarth3DInstallLog.txt and it says [2008/06/21 12:35:44.709] DownloadManager: HTTP Status String: 'OK' for 'http://go.microsoft.com/fwlink/?LinkId=87970' [2008/06/21 12:35:44.710] DownloadManager: HttpQueryInfo(HTTP_QUERY_CONTENT_LENGTH) failed for 'http://go.microsoft.com/fwlink/?LinkId=87970' (System Error Code: 12150 (unknown), WinInet Error Code: 12150 ())
+wininet shows
trace:wininet:HTTP_GetResponseHeaders raw headers: L"HTTP/1.1 200 OK\r\nContent-Length: 24758792\r\nContent-Type: application/octet-stream\r\nLast-Modified: Thu, 08 Nov 2007 00:36:49 GMT\r\nAccept-Ranges: bytes\r\nETag: "dfcf19739f21c81:8037"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sat, 21 Jun 2008 12:45:10 GMT\r\nConnection: k"... ... trace:wininet:HttpQueryInfoW Attribute: HTTP_QUERY_CONTENT_LENGTH Modifier: HTTP_QUERY_FLAG_NUMBER trace:wininet:HTTP_GetCustomHeaderIndex L"Content-Length" trace:wininet:HTTP_GetCustomHeaderIndex Return: -1 trace:wininet:HttpQueryInfoW 0 <-- 001a:Ret wininet.HttpQueryInfoW() retval=00000000 ret=00404710
So we can't retrieve content-length for some reason, even though we've received it?
http://bugs.winehq.org/show_bug.cgi?id=14035
--- Comment #1 from Dan Kegel dank@kegel.com 2008-06-21 08:48:11 --- (For those trying to get on to the next bug:
Possible workaround is: winetricks dotnet20 though that might not download the right service pack level of .net.
You then run into the same problem again with VirtualEarth3D.msi, http://go.microsoft.com/fwlink/?LinkId=106129 so download that by hand.
+relay,+msi shows that it aborts shortly after checking for a com object: 0037:Call advapi32.RegCreateKeyExW(80000000,100138e0 L"CLSID\{0DB074F0-617E-4EE9-912C-2965CF2AA5A4}\InprocServer32",00000000,00000000,00000000,000f023f,00000000,7de9685c,7de96860) ret=1000230d 0037:Ret advapi32.RegCreateKeyExW() retval=00000005 ret=1000230d ... err:msi:custom_get_thread_return Invalid Return Code 1015 err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
That UUID is associated with http://download.microsoft.com/download/0/f/b/0fb0fab9-7f09-4bb6-86d8-8e791ba... by quite a few web pages; that .cab file contains a setup.exe which seems to be for a virtual earth activeX component, but it terminates very quickly. No idea what any of that means.)
http://bugs.winehq.org/show_bug.cgi?id=14035
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2008-06-21 10:18:25 --- Hello,
well the cause of the failure is due to unsupported access flags. The custom action is called "setkeys" (+msi) and this dll probably takes care of any COM registration stuff by writing/creating appropriate registry keys/values.
--- snip --- 0037:Call advapi32.RegCreateKeyExW(80000000,100138e0 L"CLSID\{0DB074F0-617E-4EE9-912C-2965CF2AA5A4}\InprocServer32",00000000,00000000,00000000,000f023f,00000000,7de9685c,7de96860) ret=1000230d 0037:Ret advapi32.RegCreateKeyExW() retval=00000005 ret=1000230d ... --- snip ---
0xf023f = KEY_ALL_ACCESS (0xF003F) | KEY_WOW64_32KEY (0x0200)
winnt.h
+#define KEY_WOW64_64KEY 0x00000100 +#define KEY_WOW64_32KEY 0x00000200
--- quote MSDN --- KEY_WOW64_32KEY (0x0200)
Indicates that an application on 64-bit Windows should operate on the 32-bit registry view. For more information, see Accessing an Alternate Registry View.
This flag must be combined using the OR operator with the other flags in this table that either query or access registry values.
Windows 2000: This flag is not supported. --- quote MSDN ---
See: http://msdn.microsoft.com/en-us/library/ms724878(VS.85).aspx
If you look at code of RegCreateKeyExW():
--- snip dlls/advapi32/registry.c --- LSTATUS WINAPI RegCreateKeyExW( HKEY hkey, LPCWSTR name, DWORD reserved, LPWSTR class, DWORD options, REGSAM access, SECURITY_ATTRIBUTES *sa, PHKEY retkey, LPDWORD dispos) { ...
if (!(access & KEY_ACCESS_MASK) || (access & ~KEY_ACCESS_MASK)) return ERROR_ACCESS_DENIED;
} --- snip dlls/advapi32/registry.c ---
KEY_ACCESS_MASK check doesn't include WOW64 flags yet.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14035
--- Comment #3 from Dan Kegel dank@kegel.com 2008-06-21 12:01:15 --- Thanks. Filed that as bug 14040. Let's leave this bug, 14035, for just the download problem.
http://bugs.winehq.org/show_bug.cgi?id=14035
Rotem Zach rotemz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rotemz@gmail.com
--- Comment #4 from Rotem Zach rotemz@gmail.com 2008-09-07 03:19:58 --- Seems to be fixed by the patch here: http://bugs.winehq.org/attachment.cgi?id=15809&action=diff
http://bugs.winehq.org/show_bug.cgi?id=14035
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Austin English austinenglish@gmail.com 2008-09-07 05:22:10 --- Dupe then.
*** This bug has been marked as a duplicate of bug 15070 ***
http://bugs.winehq.org/show_bug.cgi?id=14035
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com 2008-09-07 05:22:18 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=14035
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
https://bugs.winehq.org/show_bug.cgi?id=14035
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|other |Linux URL|http://www.microsoft.com/Do |https://web.archive.org/web |wnloads/details.aspx?Family |/20071110130348/http://down |ID=e9298080-50c4-4f2e-9fc4- |load.microsoft.com/download |4009074996ba&displaylang=en |/a/d/e/ade837f3-8e2d-4eca-9 | |e4f-f0fcc750ab87/setup.exe Hardware|Other |x86 Version|unspecified |1.0.0