summaryrefslogtreecommitdiffstats
path: root/Tools/msi/appendpath
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-03-07 17:23:11 (GMT)
committerGitHub <noreply@github.com>2022-03-07 17:23:11 (GMT)
commit77446d2aa56e9e3262d9d2247342bbbb0ff5e907 (patch)
tree8c36fab1f209dd9f354394bb28e4037250f20356 /Tools/msi/appendpath
parentca9689f8dac01d27e041e1dbbdae146746d48ab3 (diff)
downloadcpython-77446d2aa56e9e3262d9d2247342bbbb0ff5e907.zip
cpython-77446d2aa56e9e3262d9d2247342bbbb0ff5e907.tar.gz
cpython-77446d2aa56e9e3262d9d2247342bbbb0ff5e907.tar.bz2
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31726)
Diffstat (limited to 'Tools/msi/appendpath')
-rw-r--r--Tools/msi/appendpath/appendpath.wxs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/msi/appendpath/appendpath.wxs b/Tools/msi/appendpath/appendpath.wxs
index e8d7a9d..bba186c 100644
--- a/Tools/msi/appendpath/appendpath.wxs
+++ b/Tools/msi/appendpath/appendpath.wxs
@@ -3,6 +3,7 @@
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="500" Compressed="yes" InstallScope="perUser" />
+ <PropertyRef Id="DetectTargetDir" />
<PropertyRef Id="UpgradeTable" />
<PropertyRef Id="REGISTRYKEY" />