QUOTE (Strat79 @ Jun 1 2004, 02:08 PM)
...copies the installation files over to the HDD and adds reg entries to the runonceEX...
you should look into running the installations from the cd - it will be a lot faster and it isn't too complicated.
Here is the first few lines of my runoneEX.cmd file for reference. Of course, if you already know the cdrom's drive letter - just use it and not the variable.
OH, I forgot - if you use the variable - add a zero byte file calling it
CD.id to the cd.
Also - if you need more drive letters, add the lines.
Also - any new/separate/different batch files that you want to use off of the runonceex.cmd file, you'll also need to set the cdrom variable.
CODE
cmdow @ /HID
@echo off
IF EXIST D:\CD.id set CDROM=D:
IF EXIST E:\CD.id set CDROM=E:
IF EXIST F:\CD.id set CDROM=F:
IF EXIST G:\CD.id set CDROM=G:
IF EXIST H:\CD.id set CDROM=H:
IF EXIST I:\CD.id set CDROM=I:
IF EXIST J:\CD.id set CDROM=J:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "Applying Microsoft Patches" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\mdac\Q832483.EXE /C:\"dahotfix.exe /q /n \" /q" /f