0

I created an application using Visual Studio 2010 using SQL Server 2008. How can I build a setup file?

Is it any need of installing SQL Server on another PC to execute my application?

1

1 Answer 1

2

Question 1: How can I build a setup file?

If you want to build a setup file you need to create a project of Enable InstallShield Limited Version from Setup and Deployment category (in Visual Studio 2012 IDE)

Follow the steps from this link:

How to create Setup file

Question 2: is it any need of installing SQL Server on another PC to execute my application?

If you are maintaining any server machine for maintaining your database then you do not need to install SQL Server on client PC's as you can always refer to the DB-Server machine by just providing DB-Server hostname/IP address in the ConnectionString as below:

String connectionString="Data Source=MyDBServerHostName;Initial Catalog=myDBName;UID=myUserID;password=myPassword;Integrated Security=True;"

If you don't have any server to maintain database, then you need to install SQL Server on client PC.

Sign up to request clarification or add additional context in comments.

1 Comment

@user3234578 Adding an alternative, you could always build your application on a file based database

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.