Deploy

W

webrod

Hello everybody,

I have done a program using csharp (windows form).
It uses a SQL Express database.

I have done the deployment phase.
In the properties of the project, and in the PUBLISH tab, I have
clicked on "prerequisites" and checked SQL EXPRESS.
This is great because it automatically installs SQL EXPRESS on the
client computer with my application when the setup is launched!!

But I don't know how to deploy my sql express database??

Does anyone know how to do that?
Beacause on the client machine, SQL EXPRESS has been installed, but my
database is not there.
It has not been include in the deployment.

Thanks you for your help.

Rod
 
C

Cerebrus

I dunno about VS 2005, but in the 2003 version, we would need to add a
Custom action to the Setup project, and in that custom action setting,
call the Database installation script file. (.sql)

HTH,

Regards,

Cerebrus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top