I'd like the MS installer to create a directory (a customer folder) that is read/writable by all users instead of just builtin/administrators.
Here is an example:
assume c:\afidata is the customer folder to be created on the target machine. I'd like to change the permision of the fold to be read/writable by everyone instead of the default builtin/administrators.
Anyone know how to do this?
thanks.
-eve
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.
[q]create a writable directory
Started by
iexpl
, Jun 10 2003 15:40
1 reply to this topic
Posted 11 June 2003 - 17:36
MSI is notoriously unhelpful when dealing with permissions.
If you add a create folder to create your writable folder you can tell MSI to assign permissions of Everyone = (rights). This has problems with inheritance (amongst others).
The method we use is to use a custom action to run cacls
e.g. cmd /c cacls foldername /g Everyone:C
see cacls /? for full syntax at any command prompt.
If you are on 2000 or XP you could also use a group policy (applied with secedit)
If you add a create folder to create your writable folder you can tell MSI to assign permissions of Everyone = (rights). This has problems with inheritance (amongst others).
The method we use is to use a custom action to run cacls
e.g. cmd /c cacls foldername /g Everyone:C
see cacls /? for full syntax at any command prompt.
If you are on 2000 or XP you could also use a group policy (applied with secedit)