Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hello There....
I just want to include the SQLEXPRESS deployment through my vb.net application

I am currently running the SQLEXPRESS setup manually,
In this case,

First time the installation doesn't shows the "Default Instance" option
At next attempt, it shows the "Default Instance" option and the setup is completed successfully




So, I just wanted to ask,
1. Why I need to waste two attempts every time during installation.
2. Is there any other way to install SQLEXPRESS (like by using command line)


Posted

1 solution

Use the following command line and replace the instancename and password:
SQLEXPR32.EXE /qb ADDLOCAL=ALL INSTANCENAME=<instancename> SECURITYMODE=SQL SAPWD=<password> SQLAUTOSTART=1 DISABLENETWORKPROTOCOLS=0</instancename>
 
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