During the installation time, you can write it to your program installation folder, because, apparently, it will not change (you need write access) later. You should still have read access as a standard user. Otherwise, how to run the program? :)
Or you can use the "All User Data" folder. In XP, this is usually displayed on C:\Documents and Settings\All Users\Application Data\YourApp\ . I donβt have Vista in front of me, so I canβt give you the exact location at the moment, but this should be a fairly simple mapping.
source share