/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi all ¡¡
I want to create MSI.
In this msi i want to change ntfs permissions in one folder and all subdirectorys and files of that folder...
I succes change the folder permissions using "files and folders", the subdirectoryes doesn't take hierarchy...
I have tryed in the lockpermission table but i doesnt find solution...
Its possible hierarchy or i need make the permissions in all the subfolders of the tree using cacls.exe?
Thanks all ¡¡¡¡¡¡¡¡
0 Comments   [ - ] Hide Comments

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.
Answer this question or Comment on this question for clarity

Answers

0
Use a command line tool, rather than the LockPermissions table. The reasons are too boring to detail here yet again. Have a search for 'LockPermissions', if you're curious.
Answered 05/26/2009 by: VBScab
Red Belt

Please log in to comment
0
If you're creatiing an MSI from scratch, why do you need to alter permissions? don't your developers know better than to write to program directories?
Answered 05/26/2009 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
Owen, would you like to join me on my wall? I've plenty of room for more foreheads.
Answered 05/26/2009 by: VBScab
Red Belt

Please log in to comment
0
The wailing wall, OK I get it now! LOL....
Answered 05/26/2009 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
Thanks for your replies.
I want etablish the ntfs permissions wiht the msi installer to finish before ¡¡¡

Finally i have use xcacls in a custom actions and it works fine...

Thanks¡¡¡
Answered 05/26/2009 by: escubi
Senior Yellow Belt

Please log in to comment
0
The wailing wall, OK I get it now! LOL....Hadn't thought of that! I was thinking of the wall with which I feel engaging my forehead from time to time.
Answered 05/27/2009 by: VBScab
Red Belt

Please log in to comment