Issue #2271: Set SecureCustomProperties so that installation will properly

use the TARGETDIR even for unprivileged users.
This commit is contained in:
Martin v. Löwis 2008-09-08 13:50:10 +00:00
parent 67543a9dc9
commit 3f5fda8c50
2 changed files with 5 additions and 0 deletions

View File

@ -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

View 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"