Access Control Issue Again

Got a problem you cannot solve? Try here.
soeinz
Posts: 21
Joined: Wed Aug 15, 2007 8:49 pm

Access Control Issue Again

Postby soeinz » Sun Sep 02, 2007 4:45 pm

Hi,

I am having the exact same problem as described in http://www.installaware.com/forum/viewtopic.php?t=320

I have tried the suggested remedies:

- Create the folders first, apply install, then set the permission of the folder before installing everything that lies in the folder so that they inherit the parent folders permissions: this does do something slightly different, the user SYSTEM is given full control and Admin is given only read access but not full control for everyone which is what the parent folder and is what I need

- Tried using 'Call Dll' with CreateDirectoryA but I just can't get it to create the directories, here are the parameters I am using
$WINSYSDIR$\\kernel32.dll,CreateDirectoryA,bool,,"pointer to string",$ALLAPPDATA$\\$COMPANY$\\$TITLE$\\data,"double word",,$

Any suggestions on how to progress from here?

soeinz
Posts: 21
Joined: Wed Aug 15, 2007 8:49 pm

Found the solution!

Postby soeinz » Thu Sep 27, 2007 1:00 am

:D

Is was due to the fact that I didn't really understand the difference between permissions and security. Permissions relate to a folder share whereas security is the general security attributes of system objects. Folder share permissions are set using the 'Share (Folder Share)' object type of the Set Access Control script command whereas security on a system object is using 'File System (folder,file)' object type of the Set Access Control script command. Both have to be set to have fully accessible, readable, writable folder share and once I used the 1st method in the above post it all worked fine.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 81 guests