[Python-checkins] r66305 - in python/trunk: Misc/NEWS Tools/msi/msi.py

martin.v.loewis python-checkins at python.org
Mon Sep 8 15:50:11 CEST 2008


Author: martin.v.loewis
Date: Mon Sep  8 15:50:10 2008
New Revision: 66305

Log:
Issue #2271: Set SecureCustomProperties so that installation will properly
use the TARGETDIR even for unprivileged users.


Modified:
   python/trunk/Misc/NEWS
   python/trunk/Tools/msi/msi.py

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Mon Sep  8 15:50:10 2008
@@ -125,6 +125,9 @@
 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 

Modified: python/trunk/Tools/msi/msi.py
==============================================================================
--- python/trunk/Tools/msi/msi.py	(original)
+++ python/trunk/Tools/msi/msi.py	Mon Sep  8 15:50:10 2008
@@ -250,6 +250,8 @@
              (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"


More information about the Python-checkins mailing list