From: Martin v. Löwis Date: Mon, 8 Sep 2008 13:50:10 +0000 (+0000) Subject: Issue #2271: Set SecureCustomProperties so that installation will properly X-Git-Tag: v2.6rc1~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f5fda8c5071e81e67b3b34d485b9bb4f2c6de1d;p=thirdparty%2FPython%2Fcpython.git Issue #2271: Set SecureCustomProperties so that installation will properly use the TARGETDIR even for unprivileged users. --- diff --git a/Misc/NEWS b/Misc/NEWS index 72361f9b7889..b2da2c5993a3 100644 --- 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 diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 44bca1bd45a4..22987b1b6a18 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"