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

Uninstall command line in Windows registry does not uninstall #74097

Closed
chrullrich mannequin opened this issue Mar 26, 2017 · 3 comments
Closed

Uninstall command line in Windows registry does not uninstall #74097

chrullrich mannequin opened this issue Mar 26, 2017 · 3 comments
Assignees
Labels
3.7 (EOL) end of life OS-windows type-bug An unexpected behavior, bug, or error

Comments

@chrullrich
Copy link
Mannequin

chrullrich mannequin commented Mar 26, 2017

BPO 29911
Nosy @pfmoore, @tjguk, @zooba, @chrullrich
PRs
  • bpo-32507: Change Windows install to include app-local UCRT #5119
  • 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 = 'https://github.com/zooba'
    closed_at = <Date 2018-01-18.03:34:25.141>
    created_at = <Date 2017-03-26.18:09:34.235>
    labels = ['type-bug', '3.7', 'OS-windows']
    title = 'Uninstall command line in Windows registry does not uninstall'
    updated_at = <Date 2018-01-18.03:34:25.140>
    user = 'https://github.com/chrullrich'

    bugs.python.org fields:

    activity = <Date 2018-01-18.03:34:25.140>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2018-01-18.03:34:25.141>
    closer = 'steve.dower'
    components = ['Windows']
    creation = <Date 2017-03-26.18:09:34.235>
    creator = 'chrullrich'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29911
    keywords = ['patch']
    message_count = 3.0
    messages = ['290544', '290554', '290558']
    nosy_count = 4.0
    nosy_names = ['paul.moore', 'tim.golden', 'steve.dower', 'chrullrich']
    pr_nums = ['5119']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29911'
    versions = ['Python 3.6', 'Python 3.7']

    @chrullrich
    Copy link
    Mannequin Author

    chrullrich mannequin commented Mar 26, 2017

    The Windows installation package registers a command line for uninstalling the package. Running this command line does not uninstall the package.

    The command line ends with "/modify". For uninstallation, it should be "/passive /uninstall".

    Windows provides for separate command lines for modifying and uninstalling packages to be set in the "Uninstall" subkey:

    • ModifyPath: Command line for modifying the package
    • UninstallString: Command line for removing the package

    By setting both keys, the ARP control panel will display separate buttons for the two operations.

    Having an uninstallation command line that does not do what it says, and in fact causes modal UI to be presented, also interferes with automated package management.

    Ceterum censeo: This bug would have been avoided by using MSI as the distribution package format, because "msiexec /qn /x [ProductCode]" would have been correct regardless of what the registry says, and even if the registry does not say anything because the Uninstall key (as well as the uninstaller executable itself) were actually deleted months ago as part of some expired user profile. See bug bpo-25166.

    @chrullrich chrullrich mannequin added OS-windows type-bug An unexpected behavior, bug, or error labels Mar 26, 2017
    @zooba
    Copy link
    Member

    zooba commented Mar 27, 2017

    I'll take a look at having separate commands set, but the component responsible is external and this may be an issue for them.

    Also, for future reference, continuing to point out that you would have preferred an MSI does not help you get faster assistance, and does not count as more "votes" towards any change. Continuing to add it will eventually annoy the volunteers who work on CPython sufficiently that you may find it very hard to get any attention at all.

    @zooba zooba added the 3.7 (EOL) end of life label Mar 27, 2017
    @zooba zooba self-assigned this Mar 27, 2017
    @chrullrich
    Copy link
    Mannequin Author

    chrullrich mannequin commented Mar 27, 2017

    Thank you.

    As for the pointing out: It worked for Cato, didn't it? He may not have lived to see it, but his perseverance in the face of rejection eventually brought about the years-long bloody war he had dreamed about.

    (Any historical inaccuracies in the above are the property of the author.)

    @zooba zooba closed this as completed Jan 18, 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
    3.7 (EOL) end of life OS-windows type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant