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

Add\Remove Programs entry is not created. #76972

Closed
WilliamM mannequin opened this issue Feb 8, 2018 · 2 comments
Closed

Add\Remove Programs entry is not created. #76972

WilliamM mannequin opened this issue Feb 8, 2018 · 2 comments
Labels
OS-windows type-bug An unexpected behavior, bug, or error

Comments

@WilliamM
Copy link
Mannequin

WilliamM mannequin commented Feb 8, 2018

BPO 32791
Nosy @pfmoore, @tjguk, @zware, @zooba
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 2018-02-08.19:34:02.092>
    created_at = <Date 2018-02-08.03:25:27.831>
    labels = ['type-bug', 'OS-windows']
    title = 'Add\\Remove Programs entry is not created.'
    updated_at = <Date 2018-02-08.19:34:02.091>
    user = 'https://bugs.python.org/WilliamM'

    bugs.python.org fields:

    activity = <Date 2018-02-08.19:34:02.091>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-02-08.19:34:02.092>
    closer = 'steve.dower'
    components = ['Windows']
    creation = <Date 2018-02-08.03:25:27.831>
    creator = 'WilliamM'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32791
    keywords = []
    message_count = 2.0
    messages = ['311814', '311846']
    nosy_count = 5.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'WilliamM']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '25166'
    type = 'behavior'
    url = 'https://bugs.python.org/issue32791'
    versions = ['Python 3.6']

    @WilliamM
    Copy link
    Mannequin Author

    WilliamM mannequin commented Feb 8, 2018

    I've been writing a script for the Python 3.X install package and encountering some issues due to that.

    I'm using the installation property InstallAllUsers=1 but find that Python is still placing it's Add/Remove programs entry in user context.

    Applications usually write system level installs to HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall or HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

    What I'm encountering with Python is that it's writing them to HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall

    This is causing some difficulty as it prevents software such as SCCM, KACE, Altiris from being able to detect the main program install or a user with elevated privileges from being able to remove it.

    Deploying the software will end up with the entry located the System Account's registry within HKU\S-5-1-18\Software\Microsoft\WIndows\CurrentVersion\Uninstall\{Prodct GUID}

    To add a bit more info, only the dependencies show up in HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

    Python 3.6.4 TCL/TK support (32-Bit)
    Python 3.6.4 Development Libraries (32-Bit)
    Python 3.6.5 Documentation (32-Bit)
    Python 3.6.4 Utility Scripts (32-Bit)
    Python 3.6.4 Executables (32-Bit)
    Python launcher (32-Bit)
    Python 3.6.4 Test Suite (32-Bit)
    Python 3.6.4 Core Interpreter (32-Bit)
    Python 3.6.4 Standard Library (32-Bit)

    However the "Python 3.6.4 (32-Bit)" Install that has the installation and bundled uninstall package is located in HKU\S-1-5-18\Software\Microsoft\WIndows\CurrentVersion\Uninstall\{9218130b-5ad0-4cf7-82be-6993cfd6cb84}

    Is there a known workaround/solution for this or something that can be resolved in a later build?

    @WilliamM WilliamM mannequin added OS-windows type-bug An unexpected behavior, bug, or error labels Feb 8, 2018
    @zooba
    Copy link
    Member

    zooba commented Feb 8, 2018

    This is the same as bpo-25166

    It can't be fixed easily (Wix doesn't actually support this), but I have some ideas that have been looking okayish. Still hoping to get it to work fully for 3.7, but as it affects the installer we may not have enough time for testing to get it into this release.

    @zooba zooba closed this as completed Feb 8, 2018
    @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

    1 participant