Set Access Control, what's the right way?

Got a problem you cannot solve? Try here.
sse123
Posts: 4
Joined: Thu Jun 20, 2019 4:28 pm

Set Access Control, what's the right way?

Postby sse123 » Sat Dec 19, 2020 10:11 pm

Hi,

We are using InstallAware Admin X11. I am struggling to set permissions to subdirectories and files in InstallAware.

I am trying to ensure that a folder, and all files and subfolders within that folder, will have Read/Write for Authenticated Users. My MSICode for this is just after Apply Install, as specified in the hint.

What is the correct approach? I believe I have selected the appropriate options, ref included screenshot.
SetAccessControl.png
SetAccessControl.png (26.45 KiB) Viewed 2725 times


Thank you.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Set Access Control, what's the right way?

Postby FrancescoT » Mon Dec 21, 2020 2:29 pm

I did a simple test using the code below, and permissions were applied correctly.

Code: Select all

Set Variable NATIVE_ENGINE to TRUE
Create Folder c:\myfolder
Set Read Write Permissions on File System Object "c:\myfolder" for Authenticated Users

set_access_ctrl.png
set_access_ctrl.png (24.91 KiB) Viewed 2711 times

The only difference here with my test, it's that I had to use the latest IA version.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 30 guests