Delete ALLUSERS property merged from CRT merge module, so that per-user installations become possible again.

This commit is contained in:
Martin v. Löwis 2008-04-07 14:53:34 +00:00
parent 528576031d
commit 54d489a97f
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ def merge(msi, feature, rootdir, modules):
msilib.add_stream(db, stream, cabname)
os.unlink(cabname)
maxmedia += count
# The merge module sets ALLUSERS to 1 in the property table.
# This is undesired; delete that
v = db.OpenView("DELETE FROM Property WHERE Property='ALLUSERS'")
v.Execute(None)
v.Close()
db.Commit()
merge(msi, "SharedCRT", "TARGETDIR", modules)