A
Aek
What is the best way to recursively change the permissions of the
directory we are installing into? Is there a nice way to do this in C#
..NET?
We are using an MSI installer and will need to add some custom actions
to change the permissions on the install directory and its sub
folders/files so that they can be accessed correctly via a network
share later on.
We would want to add Everyone full access to the install directory (its
a closed 3 node system running custom application on winXP pro, so
security isnt an issue)
I found a win32 C++ example but it was quite involved.
I would prefer some C# .NET.
The other alternative is to use cacls in a batch file but this is less
than ideal as we have less control over things when something goes
wrong for the user.. if we have C# code we can raise errors, log
things, popup nice informative error messages etc.
thanks
Josh
directory we are installing into? Is there a nice way to do this in C#
..NET?
We are using an MSI installer and will need to add some custom actions
to change the permissions on the install directory and its sub
folders/files so that they can be accessed correctly via a network
share later on.
We would want to add Everyone full access to the install directory (its
a closed 3 node system running custom application on winXP pro, so
security isnt an issue)
I found a win32 C++ example but it was quite involved.
I would prefer some C# .NET.
The other alternative is to use cacls in a batch file but this is less
than ideal as we have less control over things when something goes
wrong for the user.. if we have C# code we can raise errors, log
things, popup nice informative error messages etc.
thanks
Josh