For this I have setup my cd's with pretty much nothing but the install with service pack 1 and hotfixes slipstreamed and drivers on the first cd. On the second cd is any other apps I want to install.
In my winnt.sif I use this.
ok that's so that I have only one cmd file to call witch does all the real work.
This is my first_boot.cmd
CLS @ECHO OFF ECHO. ECHO Ejecting CD-ROM Drives... ECHO If you are using a cd rom please remove it from ECHO the cdrom drive and If you have a second cd place ECHO it in the drive at this time please. ECHO. ECHO If you are using a dvd please remove it ECHO at this time. ECHO. ECHO Wait till the cdrom/dvd drive quits blinking ECHO and then ... start cscript %systemdrive%\install\Tools\cd_eject.vbs >null PSKill cscript.exe >null ECHO. PAUSE IF EXIST %systemdrive%\install\applications.cmd GOTO RUNBATCH SET CDROM2= IF EXIST D:\install\applications.cmd SET CDROM2=D: IF EXIST E:\install\applications.cmd SET CDROM2=E: IF EXIST F:\install\applications.cmd SET CDROM2=F: IF EXIST G:\install\applications.cmd SET CDROM2=G: IF EXIST H:\install\applications.cmd SET CDROM2=H: IF EXIST I:\install\applications.cmd SET CDROM2=I: IF EXIST J:\install\applications.cmd SET CDROM2=J: IF EXIST K:\install\applications.cmd SET CDROM2=K: IF NOT EXIST %CDROM2%\install\applications.cmd GOTO RUNBATCH ECHO Please be patient while files are copied to your hard drive. xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y ECHO. :RUNBATCH :: cmdow @ /hid :: ECHO Running Main Batch ... :: ECHO. :: start /wait %systemdrive%\install\main_batch.cmd :HOTFIXES :: This hopefully has been obsoleted by slipstreaming the hotfixes into the installer. :: Keeping it around just in case it is needed for anything else. :: IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO APPS :: ECHO Running Hotfixes Batch ... :: ECHO. :: start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd :APPS IF NOT EXIST %systemdrive%\install\apps.inf GOTO CUSTOM ECHO Running Applications Batch ... ECHO. start /wait RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %systemdrive%\install\Apps.inf :CUSTOM IF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO ERROR :: ECHO Running Cumstom Batch ... :: ECHO. :: start /wait %systemdrive%\install\CUSTOMIZE.CMD GOTO END :ERROR IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO _ECHO IF NOT EXIST %systemdrive%\install\apps.inf GOTO _ECHO IF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO _ECHO GOTO END :_ECHO ECHO. ECHO *******************WARNING******************* ECHO Hotfixes or Applications were not installed ECHO because they could not be found. ECHO. :: ECHO Check %systemdrive%\install\install.log for :: ECHO more information. ECHO *******************WARNING******************* ECHO. PAUSE :END ECHO. ECHO Restarting the PC in 30 seconds... shutdown -r -f -t 30 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" ECHO. ::ECHO Deleting Temp Installation Files... ::RD /S /Q %systemdrive%\install ::RD /S /Q %systemdrive%\Drivers ::ECHO. EXIT
Ok on the second cd you should have an install folder with everything setup in it just like you do now. Also to note that you should only have the cmd files that go with whatever you have on your second cd. For instance if you have \install\applications on the second cd like me then you should also have your applications.cmd under \install on oyur second cd.
Hope this helps others.
oh forgot here is the cd_eject.vbs
Set oWMP = CreateObject("WMPlayer.OCX.7" ) Set colCDROMs = oWMP.cdromCollection if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdrom End If