summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-09-08 13:50:10 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-09-08 13:50:10 (GMT)
commit3f5fda8c5071e81e67b3b34d485b9bb4f2c6de1d (patch)
tree09f60f14b6a58daa56a41731ba36f0477f6c4b4c /Tools
parent67543a9dc90f65b679dce6bb32b4147c211e9769 (diff)
downloadcpython-3f5fda8c5071e81e67b3b34d485b9bb4f2c6de1d.zip
cpython-3f5fda8c5071e81e67b3b34d485b9bb4f2c6de1d.tar.gz
cpython-3f5fda8c5071e81e67b3b34d485b9bb4f2c6de1d.tar.bz2
Issue #2271: Set SecureCustomProperties so that installation will properly
use the TARGETDIR even for unprivileged users.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 44bca1b..22987b1 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -250,6 +250,8 @@ def remove_old_versions(db):
(upgrade_code_snapshot, start, "%s.%d.0" % (major, int(minor)+1),
None, migrate_features, None, "REMOVEOLDSNAPSHOT")])
props = "REMOVEOLDSNAPSHOT;REMOVEOLDVERSION"
+
+ props += ";TARGETDIR;DLLDIR"
# Installer collects the product codes of the earlier releases in
# these properties. In order to allow modification of the properties,
# they must be declared as secure. See "SecureCustomProperties Property"