Access Control Issue Again
Posted: 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?
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?