Click here to Skip to main content
15,891,745 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a question, I have a vb net Project which uses SQL database, can I deploy the Project but also SQL Server Express with tables which Project uses in one package and not install SQL Server manually, with something like installaware?

Thank you
Kyriakos
Posted
Comments
Sergey Alexandrovich Kryukov 14-Aug-15 2:38am    
This is a commercial proprietary software product. Better ask the customer service or the community, not us.
—SA

1 solution

Basically you could include the installation of the database server to your application installation. You can for example use a configuration file for the installation and include running a silent installation to your app setup. Have a look at Install SQL Server 2016 Using a Configuration File[^]

However, before doing that few thing you should consider if the database server is always installed when the application is installed.

Typically the database server is installed only once and the same database is used by multiple clients. In this kind of environment including the installation to your application installation would not make sense.

Another thing is that the target site may already have a server installed and they want to use the existing installation, again installing a new server wouldn't be a good thing.

And the third thing is that if the database is installed with the software and it's a single user scenario, then perhaps Express is not the correct edition. Compact is often used in such scenarios and it does not require any separate installation.
 
Share this answer
 

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