My application’s bootstraper downloads and install SQL Server Express, up to this part everything is fine. My issues are:
-
I want to install it with such parameter that the sa password is set as my given password, instead user has to use SSMSE and change it.
-
In Status, Setting are done automatically as ‘Permission to Connect to DB Engine is Grant and ‘Login’ is Enabled (by default it is Disabled)
-
SQL Server Browser Service should be ‘running’
-
User should not need to use SQL Server Surface Area Config.and It should automatically set to ‘Local and Remote Connections’ with Using TCP / IP only’
Please advise how to achieve these goals.
Thanks
Installation How-To Topics on MSDN is a fairly comprehensive reference for installing SQL Server. In particular, the following child pages have plenty of information on deploying SQL Server in customised configurations:
If the customisation you require is not offered by one of those steps, you should identify which one most meets your requirements and treat the remaining configuration of the SQL Server instance and support services as a separate problem.
That is to say, you may need to deploy SQL Server in two steps (e.g. using a configuration file, and then running some shell commands afterwards to complete the configuration).