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
- :
- Re: Allow READ/WRITE Permission on Directory to All Users
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
‎Jan 04, 2009
11:57 PM
Allow READ/WRITE Permission on Directory to All Users
Hi
How can I allow Read/Write permissions to all users? I have directories in the [CommonAppDataFolder] and the directories in there need to have read/write access to everyone.
Does anyone know how to set this in a Basic MSI project?
How can I allow Read/Write permissions to all users? I have directories in the [CommonAppDataFolder] and the directories in there need to have read/write access to everyone.
Does anyone know how to set this in a Basic MSI project?
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
01:27 AM
Hi,
Click on component of that particuler folder and right click n go to propertis
check the permission tab in that you can give Everyone n enter check the all boxes.
Regards
Rags:p
Click on component of that particuler folder and right click n go to propertis
check the permission tab in that you can give Everyone n enter check the all boxes.
Regards
Rags:p
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
01:36 PM
There is a command line executable that you can run to give any user you specify in the command line access to folders of your choosing. The command is cacls.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
07:21 PM
Thanks rags.msi, that is very useful info and I shall use it when I need to give permissions to file. But I need to give read/write permissions to Directories. How can that be done?
TheTraveler- I dont understand how I can set this command in installshiled. Can you please give me a step to step example?
TheTraveler- I dont understand how I can set this command in installshiled. Can you please give me a step to step example?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
09:47 PM
In the Files and Folders view you can right-click on the folder, select Properties, then click on Permissions to set permissions on that folder. Alternatively, you can use the Destination Permissions property of any component whose destination is that same folder--they both set the same entry in the LockPermissions table of the MSI database.
In a Basic MSI project either of these would be preferable to using the CACLS utility.
In a Basic MSI project either of these would be preferable to using the CACLS utility.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2009
10:39 AM
I posted a piece of sample code with explanation in a different thread. Here is a link.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 02, 2009
10:40 PM
I too have a Basic MSI project, but when I set the permissions on a folder under Files and Folders, it doesn't work - this I find a little weird, as it worked fine for previous projects of mine on IS12! Operating systems I'm installing to, are both 32 and 64bit versions of Server2003 and 2008, but same issue . . .
I'm looking into that CAcsl or whatever thing now . . .
I'm looking into that CAcsl or whatever thing now . . .