Skip to content

Can't uninstall with Windows. Trying reports that uninstalling is only possible for products installed. #99685

Closed as not planned

Description

@tps800

Bug report

Trying to uninstall any of the installed Python versions

  • Python 3.6.8
  • Python 3.7.9
  • Python 3.8.10
  • Python 3.9.13
  • Python 3.10.8
  • Python 3.11.0rc2

Will give back error message: Uninstalling is only possible for products installed.
All of the above are installed. All have tons of registry entries. All are working as expected.
Trying to upgrade leads to starting install, then rolling back to what was before.

Cant uninstall.
Cant upgrade.

Your environment

  • CPython versions tested on (they are installed side by side):
    • 3.6
    • 3.7
    • 3.8
    • 3.9
    • 3.10
    • 3.11
  • Operating system and architecture: all Windows 10

Within the registry I could find uninstall strings just giving back the very same message:

  • 3.8.3rc1: MsiExec.exe /I{07587AF1-1B88-406C-B628-7036595070FA}
  • 3.8.3rc1: MsiExec.exe /I{08804BC2-436F-4894-9B33-BE4897ACAFAF}
  • 3.8.10: MsiExec.exe /I{080E0048-853C-49FB-96ED-30DEF7AB6E34}
  • 3.8.13: MsiExec.exe /I{02D198DE-502D-460D-8036-D75A126ED8F4}
  • 3.10.0a4: MsiExec.exe /I{053D816B-0AEB-467C-8F6E-5A4D1F34F35E}
  • 3.10.8: MsiExec.exe /I{02E2EFF4-C685-4151-9A40-E50DE7A8A5D7}
  • 3.10.8: MsiExec.exe /I{0AFF3047-74E1-45BD-8A4C-1F8C49A6050E}
  • 3.11.0rc2: MsiExec.exe /I{09C7F784-0328-47E8-8F46-1EB1A67B71A6}
  • ... further 54 entries.

Activity

  1. added
    type-bug
    on Nov 22, 2022
  2. ericvsmith commented on Nov 22, 2022

    @ericvsmith
    Member

    How were these installed? Did you download them from python.org, or get them elsewhere?

  3. tps800 commented on Nov 27, 2022

    @tps800
    Author

    This is a problem with all installers provided by python.org. They install the uninstall into the account installing, but do not register these uninstallers the way windows wants it to make it appear within installed Programs and Features or installed Applications and Features. Mainly because the one who wants to uninstall does not have access to the registry hives the one whom installed created. Second: these registry hives may just not be loaded, because they are private to the account whom installed! It is a bit a mess: the subproducts are installed and registered globally, but not registered to show up within installed programs, while the main installation is only registered for the account who initiated installation and is not seen by any other account. Regardless of installing for all users or not.

    I found two ways to uninstall:

    1. Find the uninstallers by looking for something like *python*.{exe|msi} within all accounts able to install software. You need access to these accounts indeed! Something like dir c:\Users\*python*.msi /s/b or dir c:\Users\*python*.exe /s/b might help. Then call what you found adding /uninstall. It will remove the python version given within its name.
    2. Find the python version installer for the python version installed and call it adding /uninstall. It will remove the python version it installed.

    in both cases the uninstaller will be removed from the system too, but only if you have access from the account your calling the uninstall from. If not it will remain. Bad: if the one who installed once wants now to get rid of the entry found within his Programs and Featres he/she will only have an error message stating there was an error uninstalling. Leaving the registered uninstaller untouched. It seems the initiated uninstall does not find the globally installed log for uninstalling any more.

    This is a bug lasting for alt least for years now. Think it would be nice if it were fixed.

  4. tps800 commented on Nov 27, 2022

    @tps800
    Author

    Refer to bug #69353

  5. zooba commented on Jul 20, 2026

    @zooba
    Member

    The installer referred to in this issue has now been removed (#153511), and so this issue is expired. Please use the Python install manager to install Python, and file any issues on the pymanager repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowstopic-installationtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions