Hi all,
I am currently working the kinks out of an installation for a web-based application. There are two folders that are created during the installation for which the end-user needs write access. Is there a way that I can grant them that privilege during the installation, rather than having them do it manually? I am looking into a way to do this, but have not yet found a solution. If anyone has any suggestions, I would be most appreciative.
Thanks in advance...
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
write access to an installed directory
Started by
Mariscal
, Feb 06 2006 21:12
5 replies to this topic
Posted 07 February 2006 - 03:24
I haven't looked into automating this type of functionality in an IS setup before, but did you just want to open these directories up to a whole Windows group (i.e. Users) or will you have a particular Windows account in mind?
Posted 07 February 2006 - 17:39
I should think opening the folders to a Windows group like Users would be ideal. Is there perhaps a switch or setting of some sort within InstallShield that I can activate that would allow this? Thanks...
Posted 07 February 2006 - 19:14
There's no built in switch for this in InistalLScript, but I think you could call cals.exe via LaunchAppAndWait.
Stefan Krüger
InstallSite.org twitter facebook
Posted 08 February 2006 - 00:45
That's true Stefan, but I know you actually meant calcs.exe instead of cals.exe.
However, in checking Microsoft's web site, I found an extended version of that command-line utility along with a nice write up describing how it works:
HOW TO: Use Xcacls.exe to Modify NTFS Permissions
I'll also see about adding this to the FAQ since this is a popular question.
However, in checking Microsoft's web site, I found an extended version of that command-line utility along with a nice write up describing how it works:
HOW TO: Use Xcacls.exe to Modify NTFS Permissions
I'll also see about adding this to the FAQ since this is a popular question.
Edited by Taco Bell, 08 February 2006 - 00:45.