However, the problem seems to be that the permissions set using Set Access Control are not being inherited.
I've added the following MSI Code before Apply Install:
Code: Select all
~Set Access Control~
~{1F8C9992-38EF-4EA3-8666-D75F9EE429AE}~
~$ALLAPPDATA$Some Folder~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~TRUE~
~TRUE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~Call DLL Function~
~{B438CB66-A6CA-4621-BC04-18F4168EA5AC}~
~kernel32.dll,CreateDirectoryA,void,,"pointer to string","$ALLAPPDATA$\\Some Folder","double word",0,$~
~mIDEFunc.dll\\mEXEFunc.dll~
The folder is being created and it's permissions are being set to give "Everyone" full control, however the subfolders and files are not inheriting this.
I have to say that from all the posts I've seen on the subject it would seem this is a problem area for IA that should get careful consideration in an upcoming release. InstallShield handled permissions very cleanly, allowing you to set them directly on Files/Folders being installed.
Regards,
- Aaron.