/build/static/layout/Breadcrumb_cap_w.png

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!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Bartesque 19 years ago
Orange Senior Belt
0
If you use Wise, set permissions directly in there .. or use cacls.exe which exists on Wndows XP Pro Workstations, basicly the same as xcacls.exe in resource kit tools.

Bart [8|]
Posted by: craig16229 19 years ago
Third Degree Brown Belt
0
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 --<>.
Posted by: plangton 19 years ago
Second Degree Blue Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ