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
- :
- How do I set folder permission
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 21, 2009
02:12 PM
How do I set folder permission
Apologies if this has been beat to death, we are moving our installs from express 12 to 2009 Pro and have come across an odd thing I need a fix for.
I need to be able to set folder permission for our software so it runs properly under vista.
We create a folder in [CommonAppDataFolder], for this post lets call it [CommonAppDataFolder]\MyProduct and I need to give everyone full control of this folder (read,write,delete), it is where we store the calibration data for our external hardware, and the data can not be stored in the user profiles. The calibration data is updated is updated reegularly by the general users.
Does anyone know of a way to set the folder permissions through 2009 Pro?
Thanks.
Kevin
I need to be able to set folder permission for our software so it runs properly under vista.
We create a folder in [CommonAppDataFolder], for this post lets call it [CommonAppDataFolder]\MyProduct and I need to give everyone full control of this folder (read,write,delete), it is where we store the calibration data for our external hardware, and the data can not be stored in the user profiles. The calibration data is updated is updated reegularly by the general users.
Does anyone know of a way to set the folder permissions through 2009 Pro?
Thanks.
Kevin
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2009
03:39 PM
There are a few different places you'll want to look to get started.
Easy:
Under "Files and Folders" right click on your directory and select "Properties"
Click the "Permissions" button.
If this doesn't work for you, then you probably want to look in to making a custom action that calls "CACLS". You can search for more info on how to do that.
Easy:
Under "Files and Folders" right click on your directory and select "Properties"
Click the "Permissions" button.
If this doesn't work for you, then you probably want to look in to making a custom action that calls "CACLS". You can search for more info on how to do that.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2009
05:22 PM
JesseBearden wrote:
There are a few different places you'll want to look to get started.
Easy:
Under "Files and Folders" right click on your directory and select "Properties"
Click the "Permissions" button.
If this doesn't work for you, then you probably want to look in to making a custom action that calls "CACLS". You can search for more info on how to do that.
I ran to the same problem sometime ago. I used CACLS, it worked grat on english operating systems. However since we had to hard code the word "everyone" in the command line, we had problems running our software on non-english operating systems. I am now trying to use "SetACL.exe" instead.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2009
08:16 AM
grparsec wrote:
I ran to the same problem sometime ago. I used CACLS, it worked grat on english operating systems. However since we had to hard code the word "everyone" in the command line, we had problems running our software on non-english operating systems. I am now trying to use "SetACL.exe" instead.
Any luck with SetACL.exe? A good percentage of our hardware sales are overseas, so I really do need an international solution. We are having no luck with this on our end. The solutions work great under XP, but under Vista, not so much.
Thanks...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2009
10:09 AM
The way we get around this issue is with a little C++. I didn't write the code, but it appears to use the function:
ConvertStringSidToSid
Along with the "Well known sids" listed here:
http://support.microsoft.com/kb/243330
We actually use this for "Net Share", not for file permissions, but I think it would probably work.
ConvertStringSidToSid
Along with the "Well known sids" listed here:
http://support.microsoft.com/kb/243330
We actually use this for "Net Share", not for file permissions, but I think it would probably work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2009
10:52 AM
kevin-rf wrote:
Any luck with SetACL.exe? A good percentage of our hardware sales are overseas, so I really do need an international solution. We are having no luck with this on our end. The solutions work great under XP, but under Vista, not so much.
Thanks...
SetACL worked for me on XP and Win2K3. Haven't tried it on Vista based machines.