summaryrefslogtreecommitdiffstats
path: root/Tools/msi/doc
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-03-07 17:23:31 (GMT)
committerGitHub <noreply@github.com>2022-03-07 17:23:31 (GMT)
commit101a1bee1953b82339115c5e648e1717359c78eb (patch)
tree03f626029b7439c5d4e1544f7eba3b1b864f9730 /Tools/msi/doc
parent852d9b77abefcad2bb8d203e3ab9f2ca49ab305f (diff)
downloadcpython-101a1bee1953b82339115c5e648e1717359c78eb.zip
cpython-101a1bee1953b82339115c5e648e1717359c78eb.tar.gz
cpython-101a1bee1953b82339115c5e648e1717359c78eb.tar.bz2
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31728)
Diffstat (limited to 'Tools/msi/doc')
-rw-r--r--Tools/msi/doc/doc.wxs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/msi/doc/doc.wxs b/Tools/msi/doc/doc.wxs
index cd1a68c..cc5bdb4 100644
--- a/Tools/msi/doc/doc.wxs
+++ b/Tools/msi/doc/doc.wxs
@@ -4,6 +4,7 @@
<Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" />
<MediaTemplate EmbedCab="yes" CompressionLevel="high" />
+ <PropertyRef Id="DetectTargetDir" />
<PropertyRef Id="UpgradeTable" />
<PropertyRef Id="REGISTRYKEY" />