From 5284f80268ea58f426d2cd1ebca02b702d16cca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 1 Aug 2013 18:31:06 +0200 Subject: Issue #18569: The installer now adds .py to the PATHEXT variable when extensions are registered. Patch by Paul Moore. --- Tools/msi/msi.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Tools/msi') diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 8d088ff3a6..3e3cef18ff 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -1270,6 +1270,10 @@ def add_registry(db): "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"), ]) + # PATHEXT + add_data(db, "Environment", + [("PathExtAddition", "=-*PathExt", "[~];.PY", "REGISTRY.def")]) + # Registry keys prefix = r"Software\%sPython\PythonCore\%s" % (testprefix, short_version) add_data(db, "Registry", -- cgit v1.2.1