Deployment - how to install windows application along with .mdf in client's system

Asked By Chiranjeevi S on 12-Jun-14 05:33 AM
Hi i want to deploy mi c# winforms application in clients's system.My applicatiins has sql database. I want to copy the .mdf file also during the installation. Any help?
Robbe Morris replied to Chiranjeevi S on 12-Jun-14 10:37 AM
To make sure you are aware, SQL Server will also need to be installed on very desktop that uses your app.  The MDF itself is not enough depending on which version of sql server you are using.

Here's an article that gives you some information on installing sql server and setting up your database.

https://www.nullskull.com/a/833/net-setup-deployment--msi-cassini-sql-server-ntfs.aspx