You could try using inno-setup, a free setup-creator with quite an extensive set of options, combined with the also free IS-tool, you can create a setup in a blaze, with the option to grant priviliges on directories and files
http://www.jrsoftware.org/isinfo.php http://www.istool.org/ you could also continue using your own setup program by running it from the inno-setup, and let inno setup create files and directories with priviliges wkg, Orca ----- Original Message ----- From: "Monir-SitesPower" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, January 14, 2008 12:17 PM Subject: NT Security > Hi, > > The setup program of my application is written in Delphi 5, the setup > program will create a shared file, so some other programs (written by me > using Delphi 5) will use that shared file. > > In Vista, I run the setup as administrator (By manually check the related > box in its properties) and it will create the shared file, and after that, > when I write-click on the file to open its properties, I find the "Users" > Group is missing, I found "Administrators" and "SYSTEM". > > > > My question is how can I programmatically add a "Users" group to the > shared > file? So other users and programs on the same machine can read and change > the shared file. > > > > Thank you for your help. > > Monir > > _______________________________________________ > Delphi mailing list -> [email protected] > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

