/build/static/layout/Breadcrumb_cap_w.png

modify access while instllation

Hi,
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

Answers (1)

Posted by: flo 16 years ago
Senior Yellow Belt
0
Hi!

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.

example:
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
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