This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Setting folder permissions?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 03, 2011
03:42 PM
Setting folder permissions?
Hope someone can point me in the right direction... I have a custom action that sets permissions on my program folder for the Users security group. This custom action fails on non-english versions of windows... I am guessing because the group is not named "Users" on non-english versions? How can I get this to work on any version of windows? Is there a wildcard in IS for the Users security group that is set based on Windows language? Or is there a more portable way to set folder permissions?
ICACLS "[INSTALLDIRNOTRAIL]" /grant:r Users:(CI)(OI)(F)
ICACLS "[INSTALLDIRNOTRAIL]" /grant:r Users:(CI)(OI)(F)
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 03, 2011
10:47 PM
Why don't you use InstallShield built-in Permissions Dialog Boxes for Files and Directories?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)