[Bug 13844] pywin32 cannot be installed

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 1 11:12:23 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=13844





--- Comment #12 from Dan Kegel <dank at kegel.com>  2009-05-01 11:12:18 ---
OK, the mscoree thing is a canard, see
http://bugs.winehq.org/show_bug.cgi?id=6880#c7

It turns out that setting win2k mode some time after
the install seemingly exited really does let the install complete!

So the recipe is:

rm -rf ~/.wine
wine msiexec /i python-2.6.2.msi /qb
wine pywin32-212.win32-py2.6.exe
ls ~/.wine/drive_c/windows/temp/   and notice how it's filling up
with little temp files; each one represents one retry of something
sh winetricks win2k

You could probably set win2k mode beforehand, it's just fun to
watch it work after the fact like that.  The log file in the bad
case shows

1908f:Call KERNEL32.GetPrivateProfileStringA(00408f58 "Setup",00409448
"user_access_control",00408514 "",00410a30,0000000a,00531430
"C:\\windows\\temp\\~duc5ab.tmp") ret=004046a5
1908f:Ret  KERNEL32.GetPrivateProfileStringA() retval=00000004 ret=004046a5
1908f:Call KERNEL32.GetVersionExA(0033edbc) ret=0040356b
1908f:Ret  KERNEL32.GetVersionExA() retval=00000001 ret=0040356b
1908f:Call KERNEL32.LoadLibraryA(00408594 "shell32.dll") ret=004034b9
1908f:Ret  KERNEL32.LoadLibraryA() retval=7e7f0000 ret=004034b9
1908f:Call KERNEL32.GetProcAddress(7e7f0000,00408f48 "IsUserAnAdmin")
ret=004034cc
1908f:Ret  KERNEL32.GetProcAddress() retval=00000000 ret=004034cc
1908f:Call advapi32.RegOpenKeyExA(80000002,0033ee00
"Software\\Python\\PythonCore\\2.6\\InstallPath",00000000,00020019,0033edfc)
ret=00403525
...

but in the good case shows
19099:Call KERNEL32.GetPrivateProfileStringA(00408f58 "Setup",00409448
"user_access_control",00408514 "",00410a30,0000000a,00531430
"C:\\windows\\temp\\~duc9c4.tmp") ret=004046a5
19099:Ret  KERNEL32.GetPrivateProfileStringA() retval=00000004 ret=004046a5
19099:Call KERNEL32.GetVersionExA(0033edbc) ret=0040356b
19099:Ret  KERNEL32.GetVersionExA() retval=00000001 ret=0040356b
19099:Call KERNEL32.GetModuleHandleA(00000000) ret=00402607
19099:Ret  KERNEL32.GetModuleHandleA() retval=00400000 ret=00402607
19099:Call user32.LoadCursorA(00000000,00007f00) ret=00402619
19099:Ret  user32.LoadCursorA() retval=000010de ret=00402619
19099:Call gdi32.CreateSolidBrush(00800000) ret=00402627
19099:Ret  gdi32.CreateSolidBrush() retval=0000030c ret=00402627
19099:Call user32.RegisterClassA(0033de20) ret=0040263f
...

It'd be interesting to see if that also affected a "hello, world" distutils
installer.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list