summaryrefslogtreecommitdiffstats
path: root/Tools/msi/path
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-03-07 17:23:20 (GMT)
committerGitHub <noreply@github.com>2022-03-07 17:23:20 (GMT)
commit136842c91b5783e205e217c4855baa9dadd4ad41 (patch)
tree3e07aae66533ddbc418ae976a1c7800c5867cecd /Tools/msi/path
parent0ff033b859f29b6230f6d2262f08b31c2ba11921 (diff)
downloadcpython-136842c91b5783e205e217c4855baa9dadd4ad41.zip
cpython-136842c91b5783e205e217c4855baa9dadd4ad41.tar.gz
cpython-136842c91b5783e205e217c4855baa9dadd4ad41.tar.bz2
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31727)
Diffstat (limited to 'Tools/msi/path')
-rw-r--r--Tools/msi/path/path.wxs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/msi/path/path.wxs b/Tools/msi/path/path.wxs
index 8b37936..017b812 100644
--- a/Tools/msi/path/path.wxs
+++ b/Tools/msi/path/path.wxs
@@ -2,7 +2,8 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" />
-
+
+ <PropertyRef Id="DetectTargetDir" />
<PropertyRef Id="UpgradeTable" />
<PropertyRef Id="REGISTRYKEY" />