Autocompleting a setup with custom configuration

29 views Asked by At

Sorry if my question sounds vague but here is what i want.

Question

I have a Microsoft SQL Server 2008 setup which i need to be installed with custom configuration automatically.

Below is how my setup should be installed:-

Step 1
Permission to continue setup
Step 2
enter image description here
Step 3
enter image description here
Step 4
enter image description here
Step 5
enter image description here
Step 6
enter image description here
Step 7
enter image description here
Step 8
enter image description here
Step 9
enter image description here
Step 10
enter image description here
Step 11
enter image description here
Step 12
enter image description here
Step 13
enter image description here
Step 14
enter image description here
Step 15
enter image description here
Step 16
enter image description here

Problem

I have no idea how to create an EXE or how to give command to the setup do the following automatically. Any ideas or clue how to work around this would be much appreciated.

1

There are 1 answers

0
TheGameiswar On

This is where installation from configuration files help ..

All you have to do is to have a configuration file,which describes the actions you posted and a set up file..

When you have those,you can run below command from command prompt...

navigate to a place where setup is located and launch below command..

Setup.exe 
/SQLSVCPASSWORD="password" 
/ASSVCPASSWORD="password" 
/AGTSVCPASSWORD="password"
  /ISSVCPASSWORD="password" 
/RSSVCPASSWORD="password" 
/SAPWD="password"
/ConfigurationFile=ConfigurationFile.INI

Above are sample parameters for the options you need to install,you can find all parameters here ..

Install SQL Server 2016 from the Command Prompt

if you don't have a relevant configuration file,for your version of sql server,you can generate one,using below steps

https://msdn.microsoft.com/en-us/library/dd239405.aspx