Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MSI Table LockPermissions


4 replies to this topic

AlexP

AlexP
  • Members
  • 4 posts

Posted 10 February 2001 - 21:49

I was wondering if any one is able to use the MSI table LocakPermissions to set File and Registry Permissions.

Thanks.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 February 2001 - 22:42

Hmmm, I haven't tried. But I don't see why it shouldn't be possible. Maybe you can describe the type of problem you have (and the tool you are using)?

AlexP

AlexP
  • Members
  • 4 posts

Posted 13 March 2001 - 16:18

I have figured out the LockPermissions problem.  

The lockpermissions table has the following columns:

Lockobject, Table, Domain, User, Permission

The Lockobject column contains the unique description for the row.

The Table contains the Case Sensitive table name.

The Domain is the domain of the users account, it can also be a computer name.

The user is the local account or the domain account.

The permission is an "ORed" value of the Registry permissions include file in Decimal notation

Full Control = 0X10000000 or 268435456

It is really time consuming to add all the entries by hand and when you write the entries, it overwrites and security permissions on the key/file and the subfolders/keys donot inherit the newly added permissions.

Alex P.


akin smith

akin smith
  • Members
  • 8 posts

Posted 27 March 2001 - 13:58

You could call CACLS.EXE as a custom action during installation for file permissions.