4

I've got a .NET application that uses an SQLite 3 database.

I also have an Visual Studio installer project, that copies the database file (set-up as content file) to the application installation folder (C:\program files\xxx\yyyy\).

This works just fine in Windows XP but in some Windows 7 and Vista installations, my program hangs as it can't write to the database. If I manually set the database files access permission to full to all users, the problem goes away.

Is there any way, that I can have the Visual Studio installer project create this file with full permissions? Or is there a way to copy some content file to 'My Documents' from the Visual Studio installer project?

Diosney
  • 10,520
  • 15
  • 66
  • 111
user109134
  • 434
  • 1
  • 6
  • 15

0 Answers0