After using the free version of InstallShield and installing my app on my machine I noticed that my data file (a sqlite .db file) is being saved in a different location than when I run it under Visual Studio. Basically instead of being saved in the directory with the .exe file it is being saved here: C:\Users\blaaah\AppData\Local\VirtualStore\Program Files (x86)\MyAppA\MyAppA
My .exe file with its .dll files is being saved here: C:\Program Files (x86)\MyAppA\MyAppA
I am curious as to why that is happening? I am also curious on how to get that directory that contains my data file with code.
AppData(to example, here is something).