Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello All;

I have created a small .Net windows application using Visual Studio 2010 and MS-SQL Server 2008. The database will be reside on the user machine too.

I need a way to update the structure of the installed application on the user machine such as the database tables, views, functions, ... , and also *.dll assembles during the time.

As well user needs a deployment plan that let him/her install and uninstall the application during the time keeping his/her database, and use this database at the next installations.

Any help and suggestions would be highly appreciated.

Thanks in advance,
Jack.
Posted
Updated 18-Jun-13 21:23pm
v2

For Application you need to create a dot.Net package, after creating a package you will find
all the necessary DLL & files will be integrated inside the package, what you need to do, you have to install this package in Client PC.

for DB related changes, you have to create alter script for Tables , Procedure & need to execute in client DB.
 
Share this answer
 
Comments
J.William 19-Jun-13 5:01am    
Hi Mukesh,
Thanks for your answer.
Do you have any idea about the DB itself? Which version of the SQL Databases is suitable for this scenario? Is it necessary to install the SQL Server on the user's PC?
What is your idea about using a *.MDF SQL Database files?
How can i execute the scripts on the client PC? (I can not run the scripts directly on the user's PC because of the user's remote location!)
Hi,
If you are creating small application then you can opt SQL SERVER 2005 or may be 2008.
Also for client PC, you can install SQL SERVER client version of 2005.

There might be some license factor if you are using this for commercial purpose.
Check for this http://msdn.microsoft.com/en-us/sqlserver/ff658533.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900