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

python 3.5.1 uses wrong registry in system-wide installation #70601

Closed
mray mannequin opened this issue Feb 22, 2016 · 1 comment
Closed

python 3.5.1 uses wrong registry in system-wide installation #70601

mray mannequin opened this issue Feb 22, 2016 · 1 comment
Labels
topic-installation type-bug An unexpected behavior, bug, or error

Comments

@mray
Copy link
Mannequin

mray mannequin commented Feb 22, 2016

BPO 26413
Superseder
  • bpo-25166: Windows All Users installation places uninstaller in user profile
  • 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 2016-02-22.22:08:10.048>
    created_at = <Date 2016-02-22.22:00:20.713>
    labels = ['type-bug', 'expert-installation']
    title = 'python 3.5.1 uses wrong registry in system-wide installation'
    updated_at = <Date 2016-02-22.22:08:10.047>
    user = 'https://bugs.python.org/mray'

    bugs.python.org fields:

    activity = <Date 2016-02-22.22:08:10.047>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-02-22.22:08:10.048>
    closer = 'eryksun'
    components = ['Installation']
    creation = <Date 2016-02-22.22:00:20.713>
    creator = 'mray'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26413
    keywords = []
    message_count = 1.0
    messages = ['260700']
    nosy_count = 1.0
    nosy_names = ['mray']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '25166'
    type = 'behavior'
    url = 'https://bugs.python.org/issue26413'
    versions = ['Python 3.5']

    @mray
    Copy link
    Mannequin Author

    mray mannequin commented Feb 22, 2016

    The installer for python 3.5.1 (observed with the x64-86 executable installer, assumed to happen with all installers) allows users to install python either just for themselves or do a system-wide installation (provided they have sufficient privileges).

    However, when selecting a system-wide installation, the uninstall information is registered to a key under HKEY_CURRENT_USER.

    The result of this is that any user can run python 3.5.1; however, the entry in the "uninstall programs" list shows only for the original user that installed it.

    This is in contrast to previous versions of python (e.g. 3.4.4) where any user could uninstall it (provided they have sufficient privileges). It is also in contrast to pylauncher of the same version (i.e. 3.5.1) which properly registers itself under HKEY_LOCAL_MACHINE when selected to be installed for all users.

    The key in question is at this path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\{b8440650-9dbe-4b7d-8167-6e0e3dcdf5d0}

    I believe it should be here:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{b8440650-9dbe-4b7d-8167-6e0e3dcdf5d0}

    @mray mray mannequin added topic-installation type-bug An unexpected behavior, bug, or error labels Feb 22, 2016
    @eryksun eryksun closed this as completed Feb 22, 2016
    @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
    topic-installation type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant