How to set folder security permissions during installation

Nov 20 2008 11:06 PM

Hi all,

I hope this is in the right category.  I have an application that I created which creates new folders under the install path:

'C:\Program Files\My Application\'  and updates / deletes / installs files into.

Of course, whenever the program is run and any of these activities are attempted an access is denied message is shown.  My question is how can I change the permissions for this folder on installation so all users can do these operations.  I should also add that I'm kind of new to Windows development - any help would be greatly appreciated!


Answers (3)