PC Review


Reply
Thread Tools Rate Thread

Deployment with database

 
 
Just D
Guest
Posts: n/a
 
      6th Jan 2008
All,

What's the simplest way of a deployment of an application written in C# and
using ADO.NET and MS SQL Server?

I created a deployment project in the VS2005, aded it to the solution,
configured, added the main project. The deployment project creates 2 files -
setup.exe and MyApplication.msi, it automatically checks for the existence
of MDAC and MS SQL Server 2005 Express Edition, that's fine. But to install
the application correctly I need to create a database, setup all required
permissions, then copy one DB table, which is heavy enough and should be
copied to the target DB if it's not yet created. Should I write a separate
app that can be called after I install the main application to take care of
the database? Or there is an easier way of doing that?

Also if the client machine already has a previous version of the database
and I need to upgrade it to the latest version what should I do to keep the
client's data? To analyze the database using my own application and then
upgrade the DB using some script? Or there is an easier way of doing that?

Any good ideas and/or hints will be greatly appreciated!

Thanks,
Just D.



 
Reply With Quote
 
 
 
 
JIGNESH
Guest
Posts: n/a
 
      7th Jan 2008
You can do it with "Custom Actions" the entire walkthrough is available here

http://msdn2.microsoft.com/en-us/library/49b92ztk(VS.71).aspx

Regards
JIGNESH.


"Just D" wrote:

> All,
>
> What's the simplest way of a deployment of an application written in C# and
> using ADO.NET and MS SQL Server?
>
> I created a deployment project in the VS2005, aded it to the solution,
> configured, added the main project. The deployment project creates 2 files -
> setup.exe and MyApplication.msi, it automatically checks for the existence
> of MDAC and MS SQL Server 2005 Express Edition, that's fine. But to install
> the application correctly I need to create a database, setup all required
> permissions, then copy one DB table, which is heavy enough and should be
> copied to the target DB if it's not yet created. Should I write a separate
> app that can be called after I install the main application to take care of
> the database? Or there is an easier way of doing that?
>
> Also if the client machine already has a previous version of the database
> and I need to upgrade it to the latest version what should I do to keep the
> client's data? To analyze the database using my own application and then
> upgrade the DB using some script? Or there is an easier way of doing that?
>
> Any good ideas and/or hints will be greatly appreciated!
>
> Thanks,
> Just D.
>
>
>
>

 
Reply With Quote
 
Just D
Guest
Posts: n/a
 
      7th Jan 2008
Thanks a lot! I'm already there!

Kust D.

"JIGNESH" <(E-Mail Removed)> wrote in message
news:191F22AA-0BAE-4900-A78F-(E-Mail Removed)...
> You can do it with "Custom Actions" the entire walkthrough is available
> here
>
> http://msdn2.microsoft.com/en-us/library/49b92ztk(VS.71).aspx
>
> Regards
> JIGNESH.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deployment with database Just D Microsoft C# .NET 1 6th Jan 2008 09:45 AM
Optimal database deployment =?Utf-8?B?Ympub3Zh?= Microsoft Access 1 11th Jan 2005 06:46 PM
Database Deployment joe Microsoft Access Security 3 31st Jul 2004 01:53 PM
Database deployment with security =?Utf-8?B?am9l?= Microsoft Access Security 1 13th Jun 2004 02:57 PM
App Deployment with Database Steve Bishop Microsoft C# .NET 1 17th Mar 2004 12:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:32 AM.