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


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


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|]
Answered 05/16/2005 by: Bartesque
Orange Senior Belt

Please log in to comment
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 --<>.
Answered 05/16/2005 by: craig16229
Third Degree Brown Belt

Please log in to comment
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.


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.


Answered 05/16/2005 by: plangton
Second Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity