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 does not always work
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 27, 2007
09:23 AM
Setting Folder Permissions does not always work
Hello Robert,
In my InstallScript MSI project I am setting folder permissions on several of my folders under [ProgramFilesFolder].
I'm doing this by right-clicking on the folder and accessing the permissions dialog and then setting Full Control the "Everyone"
This is working great except on folders that I have exe files created with .NET i.e. C# programs, VB.NET programs.
The other folders have exe files created with VB6.
In my InstallScript MSI project I am setting folder permissions on several of my folders under [ProgramFilesFolder].
I'm doing this by right-clicking on the folder and accessing the permissions dialog and then setting Full Control the "Everyone"
This is working great except on folders that I have exe files created with .NET i.e. C# programs, VB.NET programs.
The other folders have exe files created with VB6.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2007
03:45 PM
What error or problem do you see with those specific executables? Are the permissions being set correctly for folders you are creating?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 28, 2007
03:10 PM
This thread seems to be related to my orginal thread
"VISTA and Setting Folder Permissions do not always work"
Or, somebody is having the same problems as me.
I am setting permissions on the folder to get around the UAC / Virtual Folder issues and so that I don't have to re-write 9 programs (today)...
No problems with the executables really. It's just that Virtual Folders are getting created because I can't get the permissions to "take".
If I set permissions in I.S. using the permissions dialog, setting Full Control to "Everyone" the resulting permissions ( on the target "vista" machine) are:
For folders that DON'T contain .NET executables: (as I would expect)
Everyone
System
For folders that DO contain .NET executables:
CREATOR OWNER
SYSTEM
Administrators
Users (ComputerName\Users)
Trusted Installer
"VISTA and Setting Folder Permissions do not always work"
Or, somebody is having the same problems as me.
I am setting permissions on the folder to get around the UAC / Virtual Folder issues and so that I don't have to re-write 9 programs (today)...
No problems with the executables really. It's just that Virtual Folders are getting created because I can't get the permissions to "take".
If I set permissions in I.S. using the permissions dialog, setting Full Control to "Everyone" the resulting permissions ( on the target "vista" machine) are:
For folders that DON'T contain .NET executables: (as I would expect)
Everyone
System
For folders that DO contain .NET executables:
CREATOR OWNER
SYSTEM
Administrators
Users (ComputerName\Users)
Trusted Installer