Then the $OEM$ structure has to be in the root of the CD alongside the i386 folder
Whatever method you use, the cmdlines.txt file has to be in the root of the $OEM$ folder structure ($OEM$cmdlines.txt)
The syntax of the cmdlines.txt has to be correct, check http://www.tech-hints.com/oem.html#4 (http://\"http://www.tech-hints.com/oem.html#4\")
There are no \"first target of the $OEM$\". The whole $OEM$ structure is only copied as is to the locations mentioned on Twinkies site
[Data]
AutoPartition=\"0\"
MsDosInitiated=\"0\"
UnattendedInstall=\"Yes\"
[Unattended]
UnattendMode=DefaultHide
OemPreinstall=Yes
OemFilesPath=\"..$OEM$\"
OemPnPDriversPath=\"DriversMatrox;DriversIntelNIC;DriversHercules\"
DriverSigningPolicy=Ignore
;;NonDriverSigningPolicy=Ignore
OemSkipEula=Yes
TargetPath=\"WIN2000\"
Filesystem=LeaveAlone
OverwriteOemFilesOnUpgrade=No
[MassStorageDrivers]
\"Adaptec AIC-7899 Ultra160/m PCI SCSI Card\" = RETAIL
\"Intel® 82801BA Ultra ATA Controller\" = OEM
\"Primary IDE Channel\" = OEM
\"Secondary IDE Channel\" = OEM
[OEMBootFiles]
IdeBusDr.sys
IdeChnDr.sys
IdeChnDr.inf
IATA3000.CAT
TxtSetup.oem
[GuiUnattended]
AdminPassword=blah
AutoLogon=Yes
AutoLogonCount=2
OEMSkipRegional=1
TimeZone=4
OemSkipWelcome=1
ProfilesDir=\"%SystemDrive%Users\"
;DetachedProgram=\"%SystemRoot%regedit.exe\"
;Arguments=\"/s E:ATApass2.reg\"
;DetachedProgram=\"%SystemDrive%$WIN_NT$.~LSI386svcpackdxsetup.exe\"
;Arguments=\"/windowsupdate /silent /packageinstall\"
;;[IncludeCatalog] EulaCopmlete get params from setuplog.txt
[SetupParams]
UserExecute=\"%SystemDrive%$WIN_NT$.~LS$OEM$ProfilesRemove.bat\"
[UserData]
; FullName=*
FullName=\"User\"
OrgName=\"\"
ComputerName=BLAH
;;[SystemFileProtection]
;;SFCQuota=0
[GuiRunOnce]
Command0=\"regedit.exe /s Customadmin.reg\"
Command1=\"regedit.exe /s CustomURunOnce.reg\"
Command2=\"CMD /Q /C CustomRunCmds.bat\"
Command3=\"CMD /Q /C CustomAppsSetup.bat\"
Command4=\"DriversASPIaspiinst.exe SILENT\"
[Components]
accessopt = off
;paint = off
cdplayer = off
charmap=off
cluster = off
freecell = off
fp_extensions = off
indexsrv_system = off
minesweeper = off
;media_clips = off
;media_utopia = off
pinball = off
solitaire = off
chat = off
dialer = off
rec = off
[RegionalSettings]
;;;;LanguageGroup=13,4,12,7,8,1
LanguageGroup=1
Language=00000409
;[Branding]
; BrandIEUsingUnattended=Yes
;; IEBrandingFile=INSTALL.INS
;[Proxy]
; Proxy_Enable=0
; Use_Same_Proxy=1
;[URL]
; Home_Page=http://www.microsoft.com/windows
; Search_Page=http://www.yahoo.com
; Quick_Link_1_Name=\"Customize Links.url\"
; Quick_Link_1=\"http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=CLinks\"
; Quick_Link_2_Name=\"Email Removed.url\"
; Quick_Link_2=\"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=Email Removed\"
; Quick_Link_3_Name=\"Windows.url\"
; Quick_Link_3=\"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=windows\"
; NoWelcome=1
;[FavoritesEx]
[Identification]
JoinWorkgroup=NONE
[Networking]
InstallDefaultComponents=No
[NetAdapters]
Adapter1=params.Adapter1
[params.Adapter1]
INFID=*
[NetClients]
MS_MSClient=params.MS_MSClient
[NetServices]
MS_SERVER=params.MS_SERVER
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1
[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=Yes
WINS=No
NetBIOSOptions=0
[Version]
Signature=\"$Windows NT$\"
BuildNumber=2195
MajorVersion=5
MinorVersion=0
[SetupData]
CatalogSubDir=\"i386svcpack\"
[ProductCatalogsToInstall]
dxnt.CAT
dxbda.CAT
Q322842.cat
q323172.cat
Q326830.cat
Q326886.cat
ich2br.CAT
ich2core.CAT
ich2smb.CAT
ich2usb.CAT
IATA3000.CAT
ISD.CAT
oeexcep.CAT
ieexcep.CAT
scripten.CAT
[SetupHotfixesToRun]
Q322842.exe -u -n -z -q
Q323172.exe -u -n -z -q
Q326830.exe -u -n -z -q
Q326886.exe -u -n -z -q
RegDlls.bat
@ECHO OFF
TITLE Dll Registration
ECHO.Registering Dlls . . .
%SystemRoot%System32regsvr32.exe /s msvbvm60.dll
REM %SystemRoot%System32dxdllreg.exe
ECHO.Done.
D:spCD>dir /B /S /A:D $OEM$$1Drivers
D:spCD$OEM$$1DriversASPI
D:spCD$OEM$$1DriversHercules
D:spCD$OEM$$1DriversIntelATA
D:spCD$OEM$$1DriversIntelNIC
D:spCD$OEM$$1DriversIntelSEC
D:spCD$OEM$$1DriversMatrox
D:spCD$OEM$$1DriversASPIDocs
D:spCD$OEM$$1DriversASPIinclude
D:spCD$OEM$$1DriversIntelATAbak
D:spCD$OEM$$1DriversIntelNICWindows
D:spCD$OEM$$1DriversIntelNICWindowsDrivers
D:spCD$OEM$$1DriversIntelNICWindowsDriversIA32
D:spCD$OEM$$1DriversIntelSECWin2000
D:spCD$OEM$$1DriversIntelSECWin98
D:spCD$OEM$$1DriversIntelSECWinMe OemPreinstall=Yes
OemFilesPath=\"..$OEM$\"
OemPnPDriversPath=\"DriversMatrox;DriversIntelNIC;DriversHercules\"
DriverSigningPolicy=Ignore
;;NonDriverSigningPolicy=Ignore
[FloppyFiles.3]
d1,IdeBusDr.sys
d1,IdeChnDr.sys
[Files]
d1,IdeBusDr.sys
d1,IdeChnDr.sys
d1,IPrtCnst.dll
d1,IdeChnDr.inf
d1,diactfrm.inf
d1,dmusic.inf
d1,dplay.inf
d1,dsound.inf
d1,dxnt.inf
d1,dxbda.inf
d1,dxdllreg.inf
d1,dxntunp.inf
d1,dxver.inf
d1,ksreg.inf
[SourceDisksNames.x86]
1 = %wkscd%,cdrom_ip.5,,i386
2 = %spcd%,cdromsp3.tst,,i386,1
3 = \"Intel Application Accelerator Driver\",idebusdr.sys,,i386,1
_1 = %wks1%,disk101,,\"\"
_2 = %wks2%,disk102,,\"\"
_3 = %wks3%,disk103,,\"\"
_4 = %wks4%,disk104,,\"\"
1_ = %wks1%,disk101,,\"\"
2_ = %wks2%,disk102,,\"\"
3_ = %wks3%,disk103,,\"\"
4_ = %wks4%,disk104,,\"\"
[SourceDisksFiles]
yahoo.bmp = 1,,,,,,,,3,3
zapotec.bmp = 1,,,,,,,1,3,3
complus.flg = 1,,,,,,,2,0,0,~clbcatq.dll
IdeBusDr.sys = 3,,,,,,4_,4,1
IdeChnDr.sys = 3,,,,,,4_,4,0,0
IPrtCnst.dll = 3,,,,,,,2,0,0
IdeChnDr.inf = 3,,,,,,,20,0,0
dxnt.inf = 2,,,,,,,20,0,0
dxbda.inf = 2,,,,,,,20,0,0
dxdllreg.inf = 2,,,,,,,20,0,0
diactfrm.inf = 2,,,,,,,,3,3
dmusic.inf = 2,,,,,,,,3,3
dplay.inf = 2,,,,,,,,3,3
dsound.inf = 2,,,,,,,,3,3
dxntunp.inf = 2,,,,,,,,3,3
dxver.inf = 2,,,,,,,,3,3
ksreg.inf = 2,,,,,,,,3,3
[HardwareIdsDatabase]
1394609E&10483 = \"sbp2port\"
GenDisk = \"Disk\",{4D36E967-E325-11CE-BFC1-08002BE10318}
GenOptical = \"Disk\"
GenCdRom = \"CdRom\"
SCSIWormSONY____CD-R___CDU920S__ = \"CdRom\"
GenFloppyDisk = \"flpydisk\"
PCIVEN_8086&DEV_244B&CC_0101 = \"IdeBusDr\"
PCIVEN_8086&DEV_1230 = \"intelide\"
PCIVEN_8086&DEV_7010 = \"intelide\"
PCIVEN_8086&DEV_7111 = \"intelide\"
PCIVEN_8086&DEV_2411 = \"intelide\"
PCIVEN_8086&DEV_2421 = \"intelide\"
PCIVEN_8086&DEV_7199 = \"intelide\"
PCIVEN_105A&DEV_4D33 = \"pciide\"
PCICC_0101 = \"pciide\"
I_Primary_IDE_Channel = \"IdeChnDr\"
I_Secondary_IDE_Channel = \"IdeChnDr\"
*PNP0600 = \"atapi\"
[SCSI.Load]
cpqarray = cpqarray.sys,4
IdeChnDr = IdeChnDr.sys,4
atapi = atapi.sys,4
ncrc710 = ncrc710.sys,4
[BusExtenders.Load]
pcmcia = pcmcia.sys
IdeBusDr = IdeBusDr.sys
pciide = pciide.sys
[files.pci]
pci.sys,4
[files.IdeBusDr]
IdeBusDr.sys,4
[files.pciide]
pciide.sys,4
pciidex.sys,4
[BusExtenders]
pcmcia = \"PCMCIA Support\",files.pcmcia,pcmcia
IdeBusDr = \"Intel® 82801BA Ultra ATA Controller\",files.IdeBusDr,IdeBusDr
pciide = \"PCI IDE Bus Driver\",files.pciide,pciide
[SCSI]
ipsraidn = \"IBM ServeRAID Adapter\"
IdeChnDr = \"Intel® Ultra ATA Controller\"
atapi = \"IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller\"
ini910u = \"Initio Ultra SCSI Host Adapter\"
[HiveInfs.Fresh]
AddReg = hivedef.inf,AddReg
AddReg = hivesys.inf,AddReg
AddReg = hivesft.inf,AddReg
AddReg = hivecls.inf,AddReg
AddReg = hiveusd.inf,AddReg
AddReg = wsh.inf,AddReg.WSH
AddReg = dmreg.inf,DM.AddReg
AddReg = diactfrm.inf,add.reg
AddReg = dmusic.inf,add.reg
AddReg = dmusic.inf,add.dx8reg
AddReg = dplay.inf,add.reg
AddReg = dsound.inf,DirectSound.AddReg
AddReg = dxntunp.inf,add.reg
AddReg = dxver.inf,D3D_Retail
AddReg = dxver.inf,add.reg
AddReg = ksreg.inf,PlugInRegistration
AddReg = ksreg.inf,DeviceRegistration
AddReg = dxver.inf,Win2K_Drivers32
AddReg = dxver.inf,BDA_InstallDevices
AddReg = dxver.inf,add.dxsetup
[HiveInfs.Fresh.RemoteBoot]
AddReg = hivesys.inf,AddReg.RemoteBoot
[HiveInfs.Upgrade]
DelReg = hivedef.inf,DelRegFirst
DelReg = hivesft.inf,DelRegFirst
AddReg = hivedef.inf,AddReg
DelReg = hivedef.inf,DelReg
AddReg = hivesys.inf,AddReg
DelReg = hivesys.inf,DelReg
AddReg = hivesys.inf,AddReg.Upgrade
AddReg = hivesft.inf,AddReg.Upgrade
AddReg = hivesft.inf,AddReg
DelReg = hivesft.inf,DelReg
AddReg = hivecls.inf,AddReg
DelReg = hivecls.inf,DelReg
AddReg = hiveusd.inf,AddReg
AddReg = wsh.inf,AddReg.WSH
AddReg = dmreg.inf,DM.AddReg
DelReg = dmreg.inf,DM.DelReg[Componants]accessopt = off
;paint = off
cdplayer = off
charmap=off
cluster = off
freecell = off
fp_extensions = off
indexsrv_system = off
minesweeper = off
;media_clips = off
;media_utopia = off
pinball = off
solitaire = off
chat = off
dialer = off
rec = off