Where to store windows program data files?
<p>My program contains a sql lite db file which my program creates after first run and then stores the data inside updon app usage. The database builds up over a period of time.
The db file is created in the installation directory of the program</p>

<p>I have to update the app on a regular basis when there are bugs fixed, so basically I publish a new msi installer, the installer removes old installation files except db file and install new program files.</p>

<p>Some user's do not install it to the default location so in their selected location the db file is not present.</p>

<p>I want to know if it's ok to store data files to some program data folder outside the install dir ? so that every new update of my program can access the data from that program data folder.. ?</p>

<p>Is there any program data directory in windows xp, vista and 7 ? and how to access it in C#</p>

<p>thanks, </p>
