PDA

View Full Version : Create Folder and assign it's permission in Win XP


sawadallayl
05-22-2003, 07:49 AM
HI
Is it possiple to let my application setup create a folder and assign write access to all users in Windows XP, currently my setup file creates my application folder but the write access is granted to the administrators only, I want all users of this PC to have a write access, how can I perform this using setup factory 6.
Appreciate your help

Darryl
05-22-2003, 10:20 AM
No, there is no built-in feature in Setup Factory that will allow you to perform this type of security manipulation, however take a look at the following links. They may help you accomplish what you are looking to do:

First Link (http://www.jimthompson.net/xphome/InstallingSoftware.htm)

Second Link (http://www.ss64.com/nt/cacls.html)

The first link mentions the information contained in the second link.

Hope that helps.

sawadallayl
05-22-2003, 05:08 PM
Many thanks for your reply, it helps allot, although I can not make it via setup factory, I could work out the following command using it in a batch file, then I will run it after setup complete.
CACLS "C:\PROGRAM FILES\my apps" /E /T /G USERS:W
Appreciate your help.