RE: Installation
From: Soma Sekhara Reddy (somsredd_at_microsoft.com)
Date: 09/29/04
- Next message: Soma Sekhara Reddy: "RE: Setup problem : DemoShield Run-Time Player Error"
- Previous message: DJS: "Re: (Microsoft SQL Server Desktop Engine)"
- In reply to: Tiago: "Installation"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 02:54:04 GMT
Hi,
To run Unattended SQL Server setup at Command Prompt, you need to perform 2
steps.
1. Create an Initialization File (.ISS) that Records all Options required
to Install SQL Server
2. Run Setup from Command Prompt in Unattended / Silent mode
You may visit the following Microsoft Knowledge Base Article on this issue
(Question # 25 talks about Unattended Installation)
http://support.microsoft.com/default.aspx?kbid=257716
I am appending below the Steps as given in SQL Server Books On Line (BOL)
for your reference please.
How to record an unattended installation file (Setup)
----------------------------------------------------------------------------
---------
The Record Unattended Setup option allows you to simulate an installation
and create an .iss file that can be used later for an unattended
installation of Microsoft® SQL Server™ 2000. SQL Server files are not
installed in this process.
To create a file for an unattended installation
1. Insert the Microsoft SQL Server 2000 compact disc in your CD-ROM drive.
If the compact disc does not autorun, double-click Autorun.exe in the root
directory of the compact disc.
2. Select SQL Server 2000 Components, select Install Database Server, and
then click Next at the Welcome screen of the SQL Server Installation Wizard.
3. In the Computer Name dialog box, select the option you want, and click
Next.
4. In the Installation Selection dialog box, click Advanced options, and
then in the Advanced Options dialog box, click Record Unattended .ISS file.
Click Next.
5. In subsequent Setup screens, select the options you want for the
unattended installation. After you finish selecting the options, in the
Setup Information screen, click Next.
6. In the Setup Complete screen, click Finish.
This message appears: "Setup has collected the information needed to create
an unattended installation file (.iss) for use with later unattended
installations of SQL Server."
SQL Server Setup then creates the Setup.iss file in the %windir% location
with the options you have specified.
How to run an unattended installation of SQL Server 2000 (Command Prompt)
----------------------------------------------------------------------------
----------------------------------------
You can run an unattended installation by using sample batch files and
setup initialization files included on the Microsoft® SQL Server™ 2000
compact disc. Or, you can run the Setup program directly from the command
prompt in the appropriate directory for the edition of SQL Server you want
to install, using arguments as needed.
To run an unattended installation using ready-made batch files
1. Locate the .bat and .iss files in the root directory of your SQL Server
2000 compact disc.
2. View the .bat and associated .iss files, and modify if necessary. For
more information, see Creating a Specialized Setup File.
3. Run the appropriate batch and setup files from the command prompt:
" For a standard unattended installation, run Sqlins.bat.
" For a client-only unattended installation, run Sqlcli.bat.
" For a custom unattended installation, run Sqlcst.bat.
To run an unattended installation directly from the command prompt
1. Run Setupsql.exe from the Setup directory in the appropriate
architecture directory.
2. Use arguments as needed:
-f1 <initialization file path>
Selects an unattended setup initialization file.
start /wait command (with the -SMS option)
Returns control to the command prompt only after SQL Server Setup completes.
-s flag
Causes the Setup program to run in silent mode with no user interface.
For examples of command prompt options and arguments, see the sample .bat
files on your SQL Server 2000 compact disc.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------
Hope this meets your requirements.
Thanks and Regards,
Soma Sekhara Reddy
- Next message: Soma Sekhara Reddy: "RE: Setup problem : DemoShield Run-Time Player Error"
- Previous message: DJS: "Re: (Microsoft SQL Server Desktop Engine)"
- In reply to: Tiago: "Installation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|