![]() |
|
|
By: Edgewood Solutions | Read Comments (1) | Print Edgewood Solutions is a technology company focused on Microsoft SQL Server and founder of MSSQLTips.com. Related Tips: More |
|
Problem
SQL Server 2000 installations are tedious and time-consuming, particularly if there are many servers to roll out. Having someone sit in front of the server during installation can also be very expensive. Microsoft created a method through which SQL Server can be installed in an unattended fashion. Using an unattended installation method can provide consistent server installations throughout the organization, and reduce the Total Cost of Ownership (TCO) of the database system.
Solution
The heart of SQL unattended installation is the .ISS file, which is a file that holds the component configuration information for the SQL installation. Different .ISS files can be created, based on different configurations of SQL Servers in the organization. Microsoft provided some of these files on the main section of the CD for common installations:
When you choose the Advanced Options radio button another screen will appear. This is where you choose to Record an Unattended .ISS file:
Once you have finished specifying the components to install, a screen will appear letting you know that the installation process has collected what it needs to write the .ISS file. This file will be written to the %system_root% folder of the computer the installation was run on (i.e., C:\Windows\):
Much like unattended installation for Windows Server products, a batch file can be written to run the installation and specify the .ISS file to be used. The batch file, in turn, can be rrun as a scheduled task or whenever convenient. The command line syntax for starting the installation is:
"folder_location"\x86\Setup\SetupSQL.exe
There are also switches to specify various options for the installation process:
Here is an example of the command line syntax:
Part of the installation process asks for an SA password as well as service account username and password information. Although this information is stored in the .ISS file, the passwords are encrypted so that passwords aren't compromised. When creating a network share for the installation files, make sure the account used to run the batch file (whether through Scheduled Task or other mechanism) has adequate permissions to access the network share that houses both the installation files and .ISS files. Avoid the use of mapped drives in the batch file and use UNC paths if needed.
Next Steps
| Share: | Share | Tweet |
|
![]() |
![]() |
Free SQL Server Learning |
| Wednesday, February 15, 2012 - 3:19:34 AM - Khalid Ahmed | Read The Tip |
| I need Some help About this process please contact me at amalierpk@gmail.com | |
|
privacy | disclaimer | copyright | advertise | about authors | contribute | feedback | giveaways | user groups Some names and products listed are the registered trademarks of their respective owners. Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com |