This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.7.14 does not uninstall cleanly if installation was run as SYSTEM account (SCCM)
Type: behavior Stage: resolved
Components: Installation, Windows Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: niemalsnever, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2017-11-16 13:39 by niemalsnever, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg306359 - (view) Author: Sven Pagel (niemalsnever) Date: 2017-11-16 13:39
If I install Python 2.7.14 on Windows (using the MSI) using the SYSTEM account, as is done by SCCM, uninstalling fails to clean up the registry so Python is still showing up as installed in the control panel (and still detected by SCCM).

SCCM runs the following command line to install Python:
    msiexec /i "python-2.7.14.amd64.msi" ADDLOCAL=ALL /qn

For uninstallation I use the following command line:
    msiexec /x {0398A685-FD8D-46B3-9816-C47319B0CF5F}

Both are run as the SYSTEM account.
msg367295 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-26 05:21
Hi Sven,

I'm sorry this issue never got attention before the end of 2.7, but as we have now reached that point I'm going to go ahead and close this issue.  I hope it didn't cause you too much trouble!  If you can also reproduce this with a current version of Python 3, please either reopen this issue or open a new one.
History
Date User Action Args
2022-04-11 14:58:54adminsetgithub: 76230
2020-04-26 05:21:02zach.waresetstatus: open -> closed
resolution: out of date
messages: + msg367295

stage: resolved
2017-11-16 13:39:17niemalsnevercreate