1

I am trying to use Sqlite database in my C# project and I done this well in IDE. My problem is when I make setup package for my project and I install it, the program can't access to the sqlite database. Also I know it is because the user doesn't have permission to access file, and when I run program as administrator the problem is solved.

My questions is, how can I use sqlite database in my project so that the program to be executed without administrator permission after installation?

I am using Installshield Limited Edition to deploy my project.

1 Answer 1

3

I think that if you wrap the database in an installer, it will extract to Program Files, in which you might have problems accessing for write access with certain users.

InstallShield should have a special pseudo folder to pop the datafile in AppData. You'll also need to change your program so that it expects to find the database there.

I can't quite remember the details I'm afraid.

Mark

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.