DJReal8 / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

r1040 Can't install python26 with wine-1.4.1 #347

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
C.f. http://bugs.debian.org/720737

$ winetricks python26

Executing w_do_call python26

Executing load_python26

Executing wine msiexec /i python-2.6.2.msi ALLUSERS=1

fixme:storage:create_storagefile Storage share mode not implemented.

fixme:sxs:cache_QueryAssemblyInfo 0x1e9b00, 0x00000002,
L"Microsoft.VC90.CRT,version=\"9.0.21022.8\",publicKeyToken=\"1fc8b3b9a1e18e3b\"
,processorArchitecture=\"x86\",type=\"win32\"", 0x32f988

fixme:sxs:cache_QueryAssemblyInfo 0x1e9b00, 0x00000002,
L"policy.9.0.Microsoft.VC90.CRT,version=\"9.0.21022.8\",publicKeyToken=\"1fc8b3b
9a1e18e3b\",processorArchitecture=\"x86\",type=\"win32-policy\"", 0x32f988

fixme:msi:ControlEvent_SpawnWaitDialog Doing Nothing

err:msi:ACTION_InstallFiles compressed file wasn't installed
(L"C:\\Python26\\Lib\\test\\readme.txt")

err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603

err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603

Original issue reported on code.google.com by jari.aalto.fi@gmail.com on 27 Aug 2013 at 3:34

GoogleCodeExporter commented 8 years ago
What wine version is that? Works fine here in r1052 / wine-1.7.0-251-ge89491d 
or wine 1.4 (in quiet and regular modes).

Note that winetricks doesn't do anything special for python2.6, so you're 
likely hitting a wine bug/user error, not a winetricks bug.

Also, ask the user to try a clean WINEPREFIX.

Original comment by austinenglish@gmail.com on 28 Aug 2013 at 12:22

GoogleCodeExporter commented 8 years ago
I just reproduced this with

#!/bin/sh
rm -rf foo
mkdir foo
cd foo
wget https://winetricks.googlecode.com/svn/trunk/src/winetricks
WINEPREFIX=`pwd`/wineprefix
export WINEPREFIX
WINEARCH=win32
export WINEARCH
sh winetricks -q python26

with wine-1.4.1, but wine-1.7.0-223 worked fine.

I suppose we could make winetricks warn in this case, but it'd have to be a 
pretty approximate warning, since I don't know which wine version fixed the 
problem.

Original comment by daniel.r...@gmail.com on 28 Aug 2013 at 2:45

GoogleCodeExporter commented 8 years ago
It's a regression between 1.4.0 and 1.4.1. There were 4 msi commits:
    msi: Deformat the description field of INSTALLMESSAGE_ACTIONDATA messages.
    msi: Fix deleting services on installation.
    msi: Perform a case insensitive match on filenames from cabinets.
    msi: Fixed MsiGetFileHashW for empty files.

I didn't investigate further.

Original comment by austinenglish@gmail.com on 28 Aug 2013 at 6:16

GoogleCodeExporter commented 8 years ago
So I did investigate further. The bug was from:
commit bc62e35b993dc853395df043e3c6a62233d96e8e
Author: Hans Leidekker <hans@codeweavers.com>
Date:   Mon Mar 12 12:26:34 2012 +0100

    msi: Perform a case insensitive match on filenames from cabinets.
    (cherry picked from commit fa2420d6960df77d6073e3666d375936c5999fe7)

:040000 040000 b158936fb872a9cda8e68e2cbea5346c2890513f 
587aa417bf0636dbf9d156a2d9437e129e1112e8 M  dlls
bisect run success

which is http://bugs.winehq.org/show_bug.cgi?id=32911

that commit was introduced after 1.4. The only released wine version that has 
this bug is 1.4.1 (1.5.0 does not, already tested).

I added a check for wine version = 1.4.1, then a w_die() to let the user know 
to upgrade.

Original comment by austinenglish@gmail.com on 29 Aug 2013 at 10:47