MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / CheckRootKey

Function CheckRootKey

PC/bdist_wininst/install.c:1508–1524  ·  view source on GitHub ↗

Check the root registry key to use - either HKLM or HKCU. If Python is installed in HKCU, then our extension also must be installed in HKCU - as Python won't be available for other users, we shouldn't either (and will fail if we are!) If Python is installed in HKLM, then we will also prefer to use HKLM, but this may not be possible - so we silently fall back to HKCU. We assume hkey_root is alread

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InstallFilesDlgProcFunction · 0.85

Calls 1

HasLocalMachinePrivsFunction · 0.85

Tested by

no test coverage detected