The source install’s more than 16 to 18msi, thus silent installation is preferred.
There are two way to proceed Using,
- Command line
- Configuration files
We used to prefer “Configuration Files” option because it allows efficient ways of customizing the deployment process,
Silent installation:
Generate the ConfigurationFile.ini for installation is as follows:
- Start the installation and follow the steps as per PRF until the following Window, which consist of the location of the ConfigrationFile.ini
In few cases the setup may skip the “Ready to Install” step, so that the above window might not occur. In such situation the parameters and configuration data needed for silent install can be found in summary.log file at the end of installation, as shown in following snap
For silent installation following parameters need to be changed in ConfigurationFile.ini
- ACTION="Install"
- IACCEPTSQLSERVERLICENSETERMS="True"
- QUIET="False" ----------------------------->Setup will not display any user interface
- QUIETSIMPLE="True"---------------------->setup will display progress only, without any user interaction.
- UpdateEnabled="True"------------------->if any update is needed to be installed with the setup.exe
- INSTANCENAME="SQLEXPRESS"-------->if needed (By default value= SQLEXPRESS)
- INSTANCEID="SQLEXPRESS""------------>if needed (By default value= SQLEXPRESS)
- FEATURE= “ALL”--------------------------->you can add or remove the feature to install based on your needs.
- UpdateSource="MU"--------------------->it will search for the update automatically in SOURCEDIR/UPDATE folder ,else mention the path to the update.exe explicitly
- Remove the UIMODE parameter as it can’t be used with the QUITE parameter.
And keep rest of parameters as it is.
Installation Command line:
%SourceDIR%Setup.exe /ConfigurationFile=MyConfigurationFile.INI
Silent Uninstall
Generate the ConfigurationFile.ini for Uninstallation is as follows:
Click on uninstall button of the ARP entry of main msi file in appwiz, & follow the steps, you will get the path to configuration file at ‘Ready to uninstall’ step.
For silent installation following parameters need to be changed in ConfigurationFile.ini
- ACTION="Uninstall"
- Remove or comments the tag UIMODE, this setting cannot be used with the \Quiet or \Quietsimple parameters.
- QUIETSIMPLE="True"
- INSTANCENAME="SQLEXPRESS"
Pass this configrationfile.ini to the ‘setup.exe’ present at
%ProgramFiles%\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012
Command line: %ProgramFiles%\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\setup.exe/ConfigurationFile=MyConfigurationFile.INI
Note: On uninstall from ARP application will ask you to make selection for removing the feature’s, as shown below
,
To keep the dependent and family application working properly it is not recommended to forcefully remove the shared features
More information can be found at http://msdn.microsoft.com/en-us/library/ms144259.aspx
Comments