/build/static/layout/Breadcrumb_cap_w.png

Unattended Installation and Uninstallation Of The SQL_Server_Managment_Studio_2012

The source install’s more than 16 to 18msi, thus silent installation is preferred.

There are two way to proceed Using,

  1. Command line
  2. 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:

  1. 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

  1. ACTION="Install"
  2. IACCEPTSQLSERVERLICENSETERMS="True"
  3. QUIET="False"  ----------------------------->Setup will not display any user interface
  4. QUIETSIMPLE="True"---------------------->setup will display progress only, without any user interaction.
  5. UpdateEnabled="True"------------------->if any update is needed to be installed with the setup.exe
  6. INSTANCENAME="SQLEXPRESS"-------->if needed (By default value= SQLEXPRESS)
  7. INSTANCEID="SQLEXPRESS""------------>if needed (By default value= SQLEXPRESS)
  8. FEATURE= “ALL”--------------------------->you can add or remove the feature to install based on your needs.
  9. UpdateSource="MU"--------------------->it will search for the update automatically in SOURCEDIR/UPDATE folder ,else mention the path to the update.exe explicitly
  10. 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

  1. ACTION="Uninstall"
  2. Remove or comments the tag UIMODE, this setting cannot be used with the \Quiet or \Quietsimple parameters.
  3. QUIETSIMPLE="True"
  4. 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

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ