http://bugs.winehq.org/show_bug.cgi?id=20110
Summary: Visual C++ 2005 Express SP1 install fails Product: Wine Version: 1.1.29 Platform: PC URL: http://download.microsoft.com/download/7/7/3/7737290f- 98e8-45bf-9075-85cc6ae34bf1/VS80sp1-KB926748-X86-INTL. exe OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
(Bug 19502 is about Visual C++ 2005 SP1 [not express] install failing. Since the express apps are easier to download and install, I figured it was worth having a separate bug. If the problem turns out to be the same, we'll merge the bugs.)
http://download.microsoft.com/download/7/7/3/7737290f-98e8-45bf-9075-85cc6ae... (sha1sum 8b9a0172efad64774aa122f29e093ad2043b308d) fails to install. To reproduce: wget http://winezeug.googlecode.com/svn/trunk/winetricks sh winetricks -q vc2005express sh winetricks vc2005expresssp1
It crashes soon after trace:msi:MsiGetFileVersionW L"C:\windows\Microsoft.NET\Framework\URTInstallPath\al.exe" (nil) 0 (nil) 0 in msi's find_published_source() on the line mi->volume_label = msi_realloc(mi->volume_label, ++volumesz * sizeof(WCHAR)); because mi->volume_label was NULL, and evidently realloc doesn't alloc in that case. If you change that to read sizeof(WCHAR)); mi->volume_label = mi->volume_label ? msi_realloc(mi->volume_label, ++volumesz * sizeof(WCHAR)) : msi_alloc(++volumesz * sizeof(WCHAR));
it gets very slightly farther and fails with
err:msi:ACTION_InstallFiles compressed file wasn't extracted (L"C:\windows\Microsoft.NET\Framework\URTInstallPath\al.exe") err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
Calling MSI for now, might be something else.
http://bugs.winehq.org/show_bug.cgi?id=20110
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #1 from Hans Leidekker hans@meelstraat.net 2009-09-22 05:35:38 --- I can't reproduce the crash here but I do see the same msi error.
al.exe is installed in C:\windows\Microsoft.NET\Framework\v2.0.50727 by the main installer which is correct, it's in the same place on a native installation.
The service pack installer resolves the target directory for al.exe to C:\windows\Microsoft.NET\Framework\URTInstallPath which does not exist on native, even after installing the service pack.
http://bugs.winehq.org/show_bug.cgi?id=20110
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2009-09-22 08:47:58 --- So the target directory is overridden by a custom action which is run if the condition 'NOT Installed' is true. We currently set the installed property (twice!) so the action won't be run.
If I hack my way past that the installer aborts again trying to copy vcsetup1.cab, vcsetup.msi and baseline.dat from C:\Windows\Installer to C:\Program Files\Microsoft Visual Studio 8\Microsoft Visual C++ 2005 Express Edition - ENU
That source directory is suspect, it's were the original database is loaded from but it doesn't contain these source files which are referenced from the database.
As a workaround I copied the files in the opposite direction (yes, they already exist) which allows the service pack installer to run to completion.
http://bugs.winehq.org/show_bug.cgi?id=20110
--- Comment #3 from Hans Leidekker hans@meelstraat.net 2009-09-22 08:49:31 --- Created an attachment (id=23708) --> (http://bugs.winehq.org/attachment.cgi?id=23708) hack: msi: Don't set the Installed property.
http://bugs.winehq.org/show_bug.cgi?id=20110
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2009-10-01 13:28:00 --- I've added test for the Installed condition which show that the hack attached here is wrong. So now the question is how the service pack installer is able to pick the right .NET installation directory.
http://bugs.winehq.org/show_bug.cgi?id=20110
--- Comment #5 from Dan Kegel dank@kegel.com 2010-01-04 16:04:53 --- A similar error happens when installing a hotfix on top of visual studio 2005 trial. Here's the error message:
fixme:msi:MsiSourceListGetInfoW Unhandled context 4 err:msi:ACTION_InstallFiles compressed file wasn't extracted (L"C:\Program Files\Common Files\Business Objects\2.7\Bin\crpe32.dll") err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
The hotfix I was trying to install was http://code.msdn.microsoft.com/KB920770 (I was trying to install that because the gyp self-test (see bug 19912) was failing with the error that hotfix is supposed to fix.)
http://bugs.winehq.org/show_bug.cgi?id=20110
--- Comment #6 from Dan Kegel dank@kegel.com 2010-02-01 22:40:20 --- A similar thing happens when installing .net 3.5: err:msi:ACTION_InstallFiles compressed file wasn't extracted (L"C:\windows\winsxs\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcr80.dll") err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 1603 I'll add that verb to winetricks so everyone can enjoy the error.
http://bugs.winehq.org/show_bug.cgi?id=20110
--- Comment #7 from Hans Leidekker hans@meelstraat.net 2010-06-01 01:59:29 --- The patch attached to bug 19502 also works here, provided you store a copy of vcsetup.msi and vcsetup1.cab in $WINETRICKS_TMP (and make sure to comment out all the 'rm -rf $WINETRICKS_TMP' occurrences in winetricks).
Accessing the original media could be a bug in msi, we need to test what happens on Windows when you remove these files before starting the service pack installer.
http://bugs.winehq.org/show_bug.cgi?id=20110
mathieu.malaterre@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.malaterre@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=20110
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=20110
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Resolution| |FIXED
--- Comment #8 from Anastasius Focht focht@gmx.net 2012-02-12 12:01:42 CST --- Hello,
Visual C++ 2005 Express SP1 installer works fine for me, marking fixed.
The updated VC++ express IDE hits bug 27303 at runtime:
--- snip --- $ wine ./VCExpress.exe fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.ATL" (8.0.50608.0) fixme:ole:CoInitializeSecurity (0x32f8a0,-1,(nil),(nil),0,0,(nil),8,(nil)) - stub! fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.ATL" (8.0.50608.0) err:module:import_dll Library ATL80.DLL (which is needed by L"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\msenv.dll") not found --- snip ---
'winetricks vcrun2005' works around.
Regards
http://bugs.winehq.org/show_bug.cgi?id=20110
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-02-17 13:51:14 CST --- Closing bugs fixed in 1.4-rc4.
https://bugs.winehq.org/show_bug.cgi?id=20110
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/7/7/3/7737290f- |/20110603210253/http://down |98e8-45bf-9075-85cc6ae34bf1 |load.microsoft.com/download |/VS80sp1-KB926748-X86-INTL. |/7/7/3/7737290f-98e8-45bf-9 |exe |075-85cc6ae34bf1/vs80sp1-kb | |926748-x86-intl.exe