Click here to Skip to main content
14,699,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I know this question asked infinite times in this great site but Im still confused and need a proper guide.

I have a vb project uses sql server 2008 r2

Now I want to publish my project with setup project and following needs to be done before client using it.

1. I want to install SQL as prerequisites
2. Installation will be done during application installation.
3. Silent installation.
4. Will check for sql instances
5. modify existing or continue installation.
7. If any error occurs needs to bypass or skip.
6. Preconfigured with TCP IP and all required protocols enabled
7. attach database or sql scripts to create tables.
8. install application.

What I have tried:

Tried to open a setup project but never installs or never get tcp ip enabled. Some times this application cannot be installed on this system error recieved.
Updated 19-Apr-18 18:05pm

1 solution

Silent installation is explained in Install SQL Server from the Command Prompt | Microsoft Docs[^]

However, typically SQL server is installed separately for a single application, only once on a company network. This way different clients share the same data.

If the application uses stand-alone data then using SQL Compact (CE) might be the correct edition. This edition is typically used as a stand-alone database for a single application and does not require actual installation but can be embedded into the application setup.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900