diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-09-08 13:50:10 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-09-08 13:50:10 (GMT) |
commit | 3f5fda8c5071e81e67b3b34d485b9bb4f2c6de1d (patch) | |
tree | 09f60f14b6a58daa56a41731ba36f0477f6c4b4c /Tools | |
parent | 67543a9dc90f65b679dce6bb32b4147c211e9769 (diff) | |
download | cpython-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.py | 2 |
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" |