c# - VDProj directory has no write access after installation -
i have vdproj project use create setup program application. i've had install visual studio 2010 (on machine) allow me run this, has been removed vs2012.. annoying.. that's different thread. when end user installs program, creates files in c:\program files\mycompany\ folder, inherits security parent directory, has no write access user. the problem is, when program runs, creates log files, , software update if required. application requires write access directory. i'm guessing install software 'mydocuments' folder, or folder has write access, wondering if there's better way of doing this? when program needs write protected locations program files, can launch using shellexecute functionality , runas verb/operation. trigger consent dialog uac require administrator give permission elevation. annoying if happens often, when necessary.