/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi,

i have to try to give full control to group Users to INSTALLDIR folder, to do it, i´ve created a Custom Action and use "cacls" command. But i don´t know why this custom action doesn´t work fine. If i put the path in the Custom it works perfectly, but if i use the property don´t change the permissions.

I´ve coded the custom action:

Working Directory: SystemFolder
Filename & CommandLine: cacls.exe [INSTALLDIR][MYNEWDIRECTORY] /T /E /G Users:F

I think my fail is in command line, i don´t know how i put the variables correctly. Someone can help me??

Thanks in advance.
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
What does [MYNEWDIRECTORY] resolve to? If you replace this variable with the hard-coded string (leaving [INSTALLDIR] as it is) does the CA work?

Where have you scheduled the CA?
Answered 02/07/2006 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
0
The CA is a Launch executable type.
If i leave only [INSTALLDIR] the CA is executed but doen´t change the permissions.
Answered 02/07/2006 by: carastlin
Senior Yellow Belt

Please log in to comment