I am working on a windows based c++ application. I have created the installer for this project using Visual Studio 2012. This project also has some configuration files, which are copied intothe installation folder(c:\program files\). When the application starts, one log file is also created in this installation directory. Now the problem is when I install the application on a windows 7 system, which has admin rights, everything works fine. But, when I install this on a system, which does not have admin rights, that neither my application is able to read the config file present in the current directory, nor the log file gets generated.
How can I set/change the permission of this installation directory during the instllation, so that I can modify/read the config file and also log file gets created.