http://bugs.winehq.org/show_bug.cgi?id=19636
Summary: Vista SDK installer fails in "Microsoft VC Redist 2008" subinstaller Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://www.microsoft.com/downloads/details.aspx?familyid=4377F86D-C913-4B5C-... which links to http://download.microsoft.com/download/c/a/1/ca145d10-e254-475c-85f9-1439f4c... sha1sum 756c21a7fc9b831f7200f3f44ae55cc7689e8063 size 411000 bytes. This is a little online installer.
I tried running it like this: rm -rf .wine sh winetricks dotnet20 wine setup
It seemed to go fine, but once it got to installing things, it seemed to slow to a stop. After a while the cursor changed to an hourglass. The console showed the following err's and a bunch of fixmes:
err:ole:NDRCContextBinding invalid handle 0x3ef72c0 err:ole:NDRCContextBinding invalid handle 0x3ed7ee0 err:ole:NDRCContextBinding invalid handle 0x3f1ea38 err:ole:NDRCContextBinding invalid handle 0x21b7b0 err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:msi:ACTION_CreateShortcuts CoInitialize failed err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1627 err:msi:remove_tracked_tempfiles failed to delete L"C:\windows\temp\msieb3f.tmp" fixme:thread:NtQueryInformationThread info class 16 not supported yet fixme:thread:NtQueryInformationThread info class 16 not supported yet ... That 1627 seems to have been from a subinstaller, and the main installer just kept waiting forever (maybe because the thread query failed).
A similar error happened with the offline installer
http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-... which links to
http://download.microsoft.com/download/f/e/6/fe6eb291-e187-4b06-ad78-bb45d06... size 1394618368 bytes, sha1sum dfb601096f62fd75af6ad62b277be79793f53b56 but it was able to report the problem: "Installation of the "Microsoft VC Redist 2008" product has reported the following error: ERROR_FUNCTION_FAILED"
So I tried winetricks vcrun2008 and vcrun2008sp1. Sadly, those didn't help.
The little bit of log makes this sound like either an OLE or an MSI bug.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #1 from Dan Kegel dank@kegel.com 2009-08-20 16:53:35 --- Similar problem in the Windows 7 SDK, http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-... although in this installer, the outer installer notices the problem and puts up an error dialog box.
http://bugs.winehq.org/show_bug.cgi?id=19636
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2009-08-23 06:04:12 --- Hello,
the "CreateShortcuts" action (dlls/msi/action.c:ACTION_CreateShortcuts) unconditionally initializes STA which obviously fails because the installer thread (managed worker, not main thread) already runs in MTA.
The main installer is .NET based using C# wrapper for msi API. Managed installer worker threads that call msi interop seem to explicitly initialize their apartment (MTA). You need msi test case that checks if "CreateShortcuts" action explicitly initializes COM apartment and what type of apartment is requested.
Regards
http://bugs.winehq.org/show_bug.cgi?id=19636
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #3 from Hans Leidekker hans@meelstraat.net 2009-09-09 13:29:20 --- Commit 92cd7a8fa0046658e01a17fe47723f19e79961b9 adds a test case that shows COM is not initialized in the CreateShortcuts action.
I'm not sure how to fix this, short of copying the IShellLink code from shell32.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #4 from Dan Kegel dank@kegel.com 2009-09-13 06:50:32 --- To make testing easier, I added a psdkwin7 verb to winetricks to make trying the win7 sdk easier. It automatically installs vcrun2008 (latest) and dotnet20 if needed. Runing that and selecting just the smallest installable bit (I tried libraries and headers) still fails.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #5 from Hans Leidekker hans@meelstraat.net 2009-09-17 02:30:38 --- The minimal psdkwin7 installation (headers and libraries) runs to completion on current git. You need to add vcrun6 to the list of dependencies because of a custom action dll that imports mfc42u.dll.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #6 from Dan Kegel dank@kegel.com 2009-09-17 23:34:23 --- Better than that, the compilers install, too.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #7 from Dan Kegel dank@kegel.com 2009-09-23 17:18:51 --- I don't know if this is fixed or not, but it's not really critical, since winetricks psdkwin7 is working well enough for the moment.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #8 from Hans Leidekker hans@meelstraat.net 2010-01-07 09:23:18 --- The default selection now fails like this:
trace:msi:MsiGetFileVersionW L"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Redist\Microsoft_VC80_CRT_x86_ia64.msm" (nil) 0 (nil) 0 trace:msi:MSI_DatabaseOpenViewW L"SELECT * FROM `Media` WHERE `LastSequence` >= 82 AND `DiskId` >= 8 ORDER BY `DiskId`" 0x4c6ced8 ... err:msi:ready_media Cabinet not found: L"C:\windows\temp\SDKSetup\WinSDK\WinSDK-WinSDK_RDC_IA64_CRT-common.0.cab" err:msi:ACTION_InstallFiles Failed to ready media err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
So it wants to install the file Microsoft_VC80_CRT_x86_ia64.msm which should be in WinSDK-WinSDK_RDC_IA64_CRT-common.0.cab, but the latter does not exist.
The question is, does this file need to be installed? Following the file->component->feature chain for file this shows that it is part of the WinSDK_RDC feature, which is specified in the ADDLOCAL parameter by the installer wrapper. But it also specifies WinSDK_RDC_X86_CRT, which is a child feature of WinSDK_RDC. Either that's redundant or native allows specific selections to override less specific ones.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #9 from Hans Leidekker hans@meelstraat.net 2010-01-07 10:40:48 --- This file is not installed on Windows.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2010-01-20 08:20:00 --- This installer also triggered a bug in parsing of feature overrides, which is fixed by commit 2bfce6cfdcfbf15ebb85f2680feea0ed62667a66.
http://bugs.winehq.org/show_bug.cgi?id=19636
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2010-01-28 02:59:16 --- After commit 0d770c96fe3172a7db64d7efb7819a70a6352370 this installer runs to completion (with gdiplus set to native).
http://bugs.winehq.org/show_bug.cgi?id=19636
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Dan Kegel dank@kegel.com 2010-01-28 03:22:59 --- Indeed it does. Bravo!
http://bugs.winehq.org/show_bug.cgi?id=19636
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msi
http://bugs.winehq.org/show_bug.cgi?id=19636
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2010-02-05 11:39:03 --- Closing bugs fixed in 1.1.38.
http://bugs.winehq.org/show_bug.cgi?id=19636
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0d770c96fe3172a7db64d7efb78 | |19a70a6352370
http://bugs.winehq.org/show_bug.cgi?id=19636
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://download.microsoft.c | |om/download/c/a/1/ca145d10- | |e254-475c-85f9-1439f4cd2a9e | |/Setup.exe