echo off echo "Insert CD1 (SQLSRVRS) and press enter" pause echo "change directory to the CD drive" e: echo "starting installation of server components on CD1, please wait....." Start /wait setup.exe /qb USERNAME="UserName" COMPANYNAME="MyCompany" INSTALLSQLDIR="D:\Program Files\Microsoft SQL Server\" INSTALLSQLSHAREDDIR="D:\Program Files\Microsoft SQL Server\" INSTALLSQLDATADIR=F:\ ADDLOCAL=SQL_Engine,SQL_Data_Files,SQL_Replication,SQL_FullText,SQL_DTS INSTANCENAME=MSSQLSERVER SQLACCOUNT=%1 SQLPASSWORD=%2 AGTACCOUNT=%1 AGTPASSWORD=%2 SQLBROWSERACCOUNT=%1 SQLBROWSERPASSWORD=%2 SQLAUTOSTART=1 AGTAUTOSTART=1 SECURITYMODE=SQL SAPWD=%2 DISABLENETWORKPROTOCOLS=2 echo "completed installation of components on CD1" copy "c:\Program Files\Microsoft SQL Server\90\Setup BootStrap\Log\Summary.txt" "c:\Program Files\Microsoft SQL Server\90\Setup BootStrap\Log\CD1_Summary.txt" echo "Insert CD2 (SQL Tools) and press enter" pause echo "starting installation of Client components on CD2, please wait....." Start /wait setup.exe /qb USERNAME="UserName" COMPANYNAME="MyCompany” INSTALLSQLDIR="D:\Program Files\Microsoft SQL Server\" INSTALLSQLSHAREDDIR="D:\Program Files\Microsoft SQL Server\" INSTALLSQLDATADIR=F:\ ADDLOCAL=Client_Components,Connectivity,SQL_Tools90,SQL_Documentation,SQL_BooksOnline INSTANCENAME=MSSQLSERVER SQLACCOUNT=%1 SQLPASSWORD=%2 AGTACCOUNT=%1 AGTPASSWORD=%2 SQLBROWSERACCOUNT=%1 SQLBROWSERPASSWORD=%2 SQLAUTOSTART=1 AGTAUTOASTART=1 SECURITYMODE=SQL SAPWD=%2 DISABLENETWORKPROTOCOLS=2 echo "completed installation of components on CD2" copy "c:\Program Files\Microsoft SQL Server\90\Setup BootStrap\Log\Summary.txt" "c:\Program Files\Microsoft SQL Server\90\Setup BootStrap\Log\CD2_Summary.txt" echo "configuring SQL Server installation "c:\Program Files\Microsoft SQL Server\90\Shared\sac" in c:\SQL2005_install\sac_input.txt rem setting up sql server defaults "D:\Program Files\Microsoft SQL Server\90\Tools\Binn\sqlcmd -USA -P%2 -S. -i c:\install_SQL.sql