cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rr8831
Level 3

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.
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

What error or problem do you see with those specific executables? Are the permissions being set correctly for folders you are creating?
0 Kudos
Todd_Hamilton
Level 2

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
0 Kudos