I have a .NET application that uses a SQLite 3 database .
I also have a Visual Studio installation project that copies a database file (setup as a content file) to the application installation folder ( C:\program files\xxx\yyyy\ ).
This works fine on Windows XP, but on some installations of Windows 7 and Vista my program freezes because it cannot write to the database. If I manually set the permissions of the database files for all users, the problem will disappear.
Is there any way that the Visual Studio installer project can create this file with full permissions? Or is there a way to copy some content file to My Documents from a Visual Studio installer project?
source share