Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-23
3
Medium Priority
?
397 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
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
Meir Rivkin earned 1500 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:Meir Rivkin
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

971 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