Skip to content

Commit cb53ce0

Browse files
author
martin.v.loewis
committed
Issue #2271: Set SecureCustomProperties so that installation will properly
use the TARGETDIR even for unprivileged users. git-svn-id: http://svn.python.org/projects/python/trunk@66305 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 6ffaec8 commit cb53ce0

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ Tests
125125
Build
126126
-----
127127

128+
- Issue #2271: Set SecureCustomProperties so that installation will properly
129+
use the TARGETDIR even for unprivileged users.
130+
128131
- Allow passing the MSI file name to merge.py.
129132

130133
- Issue #3758: Rename the 'check' target to 'patchcheck' so as to not clash

Tools/msi/msi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ def remove_old_versions(db):
250250
(upgrade_code_snapshot, start, "%s.%d.0" % (major, int(minor)+1),
251251
None, migrate_features, None, "REMOVEOLDSNAPSHOT")])
252252
props = "REMOVEOLDSNAPSHOT;REMOVEOLDVERSION"
253+
254+
props += ";TARGETDIR;DLLDIR"
253255
# Installer collects the product codes of the earlier releases in
254256
# these properties. In order to allow modification of the properties,
255257
# they must be declared as secure. See "SecureCustomProperties Property"

0 commit comments

Comments
 (0)