I am trying to install the application n normal user mode, i need to give access to specific folders while installing. I am using wise, how am i supposed to give permission to the folders only to folders and files needed? do i hv to write script ??
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.



I use setacl for this (Execute Program from Installation, Defered - System context, Sycronous - Ignore Exit Code). Use If statements, so it's not executed while uninstallation.

SetACL.exe -on "c:\test" -ot file -actn ace -ace "n:S-1-5-32-545;p:change;s:y"

We tried many other tools, eg. cacls.exe (no sid support), subinacl (damages inheritance), xcalcs or security databases (no sid support), but this is the tool of our choise.

cu Flo
Answered 05/11/2007 by: flo
Senior Yellow Belt

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