Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi. I Want Silent installation of SQL Express 2019 with the Advanced Installer program. I using Below Parameter for this, But only the extraction part is worked and SQL Express not installed. it seems is getting error, But no error show. also I want use of Default parameter So I can use "." as Local Host in any system. how can I Solve it?

What I have tried:

/x:C:\ExtractionFolder /qs /ACTION=INSTALL /FEATURES=SQL /INSTANCENAME=MSSQLSERVER 
Posted
Updated 26-Jun-23 22:00pm

You are suppressing all error messages. You need to replace /qs with /INDICATEPROGRESS in the command line, so you can see what is happening.
 
Share this answer
 
Comments
Member 11400059 28-Jun-23 3:44am    
thank you. I replace and test it again. there is no error, I see the every step and now install it with out problem, but I want completely salient it. how should I fix this?
Richard MacCutchan 28-Jun-23 4:17am    
As you say, it installs without error, so there is nothing to fix. See Install SQL Server on Windows from the command prompt - SQL Server | Microsoft Learn[^] for all possible combinations of options.
The real question is "why are you installing SQL Server at all?"

You probably should not include SQL Server in your installation. There are a couple of reasons:
0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version.
1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version.
2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator...
3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control.
4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea!
5) It will destroy the primary advantage of using Sql Server over SqlCE, SQLite, or Access - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.
 
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