Solved

How To Install Sqlite database to a specific path in a Visual Studio Package ?

Posted on 2011-02-23
3
390 Views
Last Modified: 2013-11-26
Hi All,

I am developing a client -server application in Visual Studio 2005 C#.

I am using sqlite as my database.

When  I build one click installation and install it on another machine the sqlite database is install on following default path which is
C:\Documents and Settings\lt\Local Settings\Apps\2.0\XTRXPMR6.CE0\LJEH924J.7R4\asce...exe_27e7cc688ee11b76_0001.0000_none_1a9ebedbf08f462c\Data\

What I want to do is install the sqllite database to a folder on c drive i.e C:\sqlite\

How can I do this in my Visual Studio which on build becomes one click installation.

Thanks a lot for the help in advance.

Aash.
0
Comment
Question by:matrix_aash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 35157744
You can't. One of the design goals of ClickOnce applications is that they require no administrative privileges, and the only places you can write with impunity on Vista and Windows Fabulous (7) are under the user's profile.

http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/5c7d00c2-2473-4fd5-b815-30066383eb47
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 35157754
so simply put there's no way to change or override the installation location for ClickOnce applications.
0
 
LVL 8

Author Closing Comment

by:matrix_aash
ID: 35800519
Partially Helpfull
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question