]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #2271: Set SecureCustomProperties so that installation will properly
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 8 Sep 2008 13:50:10 +0000 (13:50 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 8 Sep 2008 13:50:10 +0000 (13:50 +0000)
use the TARGETDIR even for unprivileged users.

Misc/NEWS
Tools/msi/msi.py

index 72361f9b78896d403ad7675048bee125e286abcb..b2da2c5993a38769c0f3d29a3e9a664bb4f5eaf3 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -125,6 +125,9 @@ Tests
 Build
 -----
 
+- Issue #2271: Set SecureCustomProperties so that installation will properly
+  use the TARGETDIR even for unprivileged users.
+
 - Allow passing the MSI file name to merge.py.
 
 - Issue #3758: Rename the 'check' target to 'patchcheck' so as to not clash 
index 44bca1bd45a4bc45c717b86d9615bf926f3801ff..22987b1b6a185c2d6159810d19dbb9da48426110 100644 (file)
@@ -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"