I’ve got a Windows standalone app that reads and writes it’s own preset files as json files. My problem occurs when the user puts the app in the "Program Files" directory on either Vista or Windows 7 (it works perfectly in XP). What happens is that the app will read the json files if they already exist, but won’t write to them. If they put the app somewhere other than in the "Program Files" directory, even at the same directory level, everything works fine. I’m much more of a Mac guy, so my question is for the Windows gurus. Is there some sort of permission issue with the "Program Files" directory that I need to deal with? Any hints or suggestions? Thanks so much!
The path to the preset file looks something like: C:/Program Files/AppDirectory/presets/presets.json