user2787971
user2787971

Reputation: 31

deploy wpf app with sql database

I am using Visual Studio Setup and Deployment deploying my wpf app. My aim is to package my wpf app so that I can install and run it in any machines which don't have sql installed and machines don't have internet access. I am using sql server express 2008 r2 and VS2010. I did some research, migration might be the solution but I have no idea how to use it and I don't find helpful tutorials for that. Please help me. Thanks in advance.

Upvotes: 3

Views: 3827

Answers (2)

Mujahid Daud Khan
Mujahid Daud Khan

Reputation: 2071

In your setup Project, Go to project properties, Click for prerequisite button and check sql server version you are using for your project, also check the .Net version of the project.

if the host computer don't have the internet than select "specify the install option" as Download the prerequisites form the same location as my application.

This will create a full package of your application and ready to be deployed in any machine.

Upvotes: 1

lena
lena

Reputation: 1191

You can use Microsoft SQL Server Compact Edition with a private deployment. See this good article

Upvotes: 1

Related Questions