Python Forum
Issue with Python 3.X Add/Remove programs entry.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with Python 3.X Add/Remove programs entry.
#1
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}


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

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

So
Python 3.6.4 TCL/TK support
Python 3.6.4 Development Libraries
Python 3.6.5 Documentation
Python 3.6.4 Utility Scripts
Python 3.6.4 Executables
Python launcher
Python 3.6.4 Test Suite
Python 3.6.4 Core Interpreter
Python 3.6.4 Standard Library

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

Please delete this thread, I created a bug report.
Reply
#2
We typically do not delete threads, however, it would be nice if you were to report back under this thread if you get any feed back, in case others have a similar problem.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  "Switch-to-spreadsheet" entry. Feasible in Python? whatspython 2 1,976 Sep-30-2020, 01:12 PM
Last Post: buran
  python --version yields no output, not detected by other programs ten 3 3,365 Jun-25-2020, 04:48 AM
Last Post: perfringo
  Can Cmder be used to write Python programs? newbieAuggie2019 5 4,953 Sep-30-2019, 11:24 AM
Last Post: newbieAuggie2019
  Launching other programs from Python Truman 4 2,885 Feb-14-2019, 12:59 AM
Last Post: Truman
  Executing DOS programs within Python mdsi2000 4 3,855 Mar-01-2018, 03:49 PM
Last Post: mdsi2000

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020