permissions best practice
Hi all,
i need some guidance in deciding what method to use when applying permissions to files\reg entries.
from what i have read on this forum Secedit is the way to go!
What are the main differences and advantages of Secedit over xcalcs.exe and the lock permissions table in Wise and Installshield?
thanks in advance for any useful info!
i need some guidance in deciding what method to use when applying permissions to files\reg entries.
from what i have read on this forum Secedit is the way to go!
What are the main differences and advantages of Secedit over xcalcs.exe and the lock permissions table in Wise and Installshield?
thanks in advance for any useful info!
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
Bartesque
19 years ago
Posted by:
craig16229
19 years ago
I think using secedit, xcalcs, and calcs are all solid methods. What I would not recommend is trying to set your perms using the Wise interface. Running a Custom Action to set file or reg perms just before InstallFinalize will produce much more predictable results. If you try to do it through the Wise interface, you cannot always be certain one of your perms will not get set or will be overwritten because of not being able to control sequencing.
Craig --<>.
Craig --<>.
Posted by:
plangton
19 years ago
I'd second Craigs comments, and also add setacl to the mix of utilities, it can do things that xcacls and cacls can't. On the downside its syntax is somewhat obtuse.
http://setacl.sourceforge.net
Also, one thing I always check when adding permissions is that the uninstall works. If you forget to make your custom action conditional on the application installing, it will try and run on uninstall as well, which could produce errors if the key/file you are trying to set permissions on no longer exists.
Hope that helps.
Rgds
Paul
http://setacl.sourceforge.net
Also, one thing I always check when adding permissions is that the uninstall works. If you forget to make your custom action conditional on the application installing, it will try and run on uninstall as well, which could produce errors if the key/file you are trying to set permissions on no longer exists.
Hope that helps.
Rgds
Paul
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.