My application throws 'Access denied' errors when writing temporary files in the installation directory where the executable resides. However it works perfectly well in Windows XP. How to provide access rights to Program Files directory in Windows 7?

EDIT: How to make the program ask the user to elevate rights? (ie run program with full admin rights)

c#
Edit
Report