Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installers for 2.7.3 don't install python27.dll correctly #60931

Closed
keith969 mannequin opened this issue Dec 19, 2012 · 7 comments
Closed

Windows installers for 2.7.3 don't install python27.dll correctly #60931

keith969 mannequin opened this issue Dec 19, 2012 · 7 comments
Labels
OS-windows type-bug An unexpected behavior, bug, or error

Comments

@keith969
Copy link
Mannequin

keith969 mannequin commented Dec 19, 2012

BPO 16727
Nosy @loewis, @amauryfa, @tiran

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-12-20.14:43:17.116>
created_at = <Date 2012-12-19.11:30:49.574>
labels = ['type-bug', 'invalid', 'OS-windows']
title = "Windows installers for 2.7.3 don't install python27.dll correctly"
updated_at = <Date 2012-12-20.15:23:32.957>
user = 'https://bugs.python.org/keith969'

bugs.python.org fields:

activity = <Date 2012-12-20.15:23:32.957>
actor = 'keith969'
assignee = 'none'
closed = True
closed_date = <Date 2012-12-20.14:43:17.116>
closer = 'loewis'
components = ['Windows']
creation = <Date 2012-12-19.11:30:49.574>
creator = 'keith969'
dependencies = []
files = []
hgrepos = []
issue_num = 16727
keywords = []
message_count = 7.0
messages = ['177736', '177754', '177757', '177823', '177826', '177827', '177828']
nosy_count = 4.0
nosy_names = ['loewis', 'amaury.forgeotdarc', 'christian.heimes', 'keith969']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue16727'
versions = ['Python 2.7']

@keith969
Copy link
Mannequin Author

keith969 mannequin commented Dec 19, 2012

The windows installers for Python 2.7.3 do not install the required python27.dll correctly.

The Windows x86 MSI Installer (2.7.3) does not install a 32 bit python27.dll in windows\system32 at all.

The Windows x86-64 MSI Installer (2.7.3) installs a 64 bit python27.dll in windows\system32, NOT in windows\SysWOW64 as it should.

The python27.dll should be kept in the python DLLs directory for both 32 and 64 bit versions, so users can clean up the mess if they need to...

@keith969 keith969 mannequin added the OS-windows label Dec 19, 2012
@amauryfa
Copy link
Member

Did you select an option like "install for all users"/"install just for me" at some point?

@keith969
Copy link
Mannequin Author

keith969 mannequin commented Dec 19, 2012

I selected "install for all users", even though there is only one...

@tiran
Copy link
Member

tiran commented Dec 20, 2012

On my Windows box the 32bit python27.dll is in C:\Windows\System32\ and the 64bit DLL is in c:\Windows\SysWOW64\. Can you recall the installation order, did you install the 32 or 64bit version first? Did you choose "install for all users" for both installations? Which version of Windows are you running (release and service pack)?

For some applications like COM the DLL must be installed the system directory.

@tiran tiran added the type-bug An unexpected behavior, bug, or error label Dec 20, 2012
@loewis
Copy link
Mannequin

loewis mannequin commented Dec 20, 2012

Are you sure that the file in SysWOW64 is a 64-bit binary? On Win64, system32 contains the 64-bit DLLs, and SysWOW64 contains the 32-bit DLLs:

http://en.wikipedia.org/wiki/WoW64#Registry_and_file_system

Indeed, on my system, it's exactly reversed to what Christian reports.

I'm closing this report as invalid: I can't see a problem in Keith original message. *Of course* the x86 installer won't install to system32 on a Win64 system; this is correct behavior. Of course, the 64-bit installer should install to system32, this is what it should do. It should *not* install to SysWOW64.

@loewis loewis mannequin closed this as completed Dec 20, 2012
@loewis loewis mannequin added the invalid label Dec 20, 2012
@tiran
Copy link
Member

tiran commented Dec 20, 2012

No, I'm not sure. I peaked into python27.dll in system32 and saw that it refers to kernel32.dll. I guess I made the wrong conclusion ... You have to admit that the naming convention is a tiny bit confusion. ;)

@keith969
Copy link
Mannequin Author

keith969 mannequin commented Dec 20, 2012

Well all I can say is having installed BOTH the 32 and 64 bit versions, I found I only had the 32 bit dll installed.

I can raise a second issue for the request to put a copy of the dll in the DLL directory, so that it's easier to locate the correct dll if needed to ship with an embedded python application.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants