File Permissions Frustration - Advanced Installer Community
mrichards0
Posts: 4
Joined: Wed May 07, 2014 6:07 pm

File Permissions Frustration

I needed to add user permissions to write to certain directories during the install. When I tried to add just those permissions, all permissions were removed and only the permission I granted was added (Administrators couldn't even see the install directory). I tried adding all the default permissions, but TrustedInstaller failed during install. I tried to remove TrustedInstaller from my project and made sure "Apply permission to all subfolders" was checked. It didn't remove from all subfolders. The Advanced Installer UI added to all, but didn't removed from all. I'm forced to update hundreds of my project subdirectories manually. Why doesn't the "Apply to all subfolders" work? Is there another way to remove a permission from my project?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File Permissions Frustration

Hello,
I needed to add user permissions to write to certain directories during the install. When I tried to add just those permissions, all permissions were removed and only the permission I granted was added (Administrators couldn't even see the install directory)
Please keep in mind this is the default Windows Installer behavior. Our "Permissions" support uses the default Windows Installer permissions support. Please take a look on our "Setting folder permissions" thread which debates the same behavior.
I tried to remove TrustedInstaller from my project and made sure "Apply permission to all subfolders" was checked. It didn't remove from all subfolders. The Advanced Installer UI added to all, but didn't removed from all. I'm forced to update hundreds of my project subdirectories manually. Why doesn't the "Apply to all subfolders" work? Is there another way to remove a permission from my project?
I'm afraid currently this is our default behavior. Our "Apply permissions to all subfolders" option only add the parent folder permissions to the subfolder permissions. It cannot be used to remove permissions from subfolders. Unfortunately, this is an Advanced Installer limitation. An improvement will be added in a future version of Advanced Installer, thank you for bringing this to our attention. We'll let you know when this improvement will be out. Until then, as a workaround, I',m afraid you should edit the subfolders permissions.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: File Permissions Frustration

Hello,
I tried to remove TrustedInstaller from my project and made sure "Apply permission to all subfolders" was checked. It didn't remove from all subfolders. The Advanced Installer UI added to all, but didn't removed from all. I'm forced to update hundreds of my project subdirectories manually. Why doesn't the "Apply to all subfolders" work? Is there another way to remove a permission from my project?
This feature has been added in version 11.3 of Advanced Installer released on June 17th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”