IkeaBoy Posted November 15, 2004 Posted November 15, 2004 I've been working on a DVD that would boot into WinPE 2004 to do basic recovery and Windows XP SP2 installations. It also has the complete Office 2003 product family with SP1 setup via an administrative installation point.I've got everything working except the $OEM$ part.The scripts I'm using are below with thier paths.X:\i386\System32\StartNet.cmdecho offtitle Titleecho Starting PE Network ConfiguratorPENetCfg /UseProfileCD /D X:\WinXP\i386\clsecho.echo Windows Preinstallation Environment 2004echo.echo Extra tools include WinSCP, PuTTY, and RealVNCecho.echo Enter "Wipe0" or "Wipe1" to create a partitionecho.echo Enter "WinXP" to install Windows XP with SP2X:\i386\System32\Wipe#.batDISKPART /S WIPE#.TXTX:\i386\System32\Wipe#.txtSelect Disk #CleanCreate Partition PrimaryAssignActiveX:\WinXP\i386\WinXP.batcls@echo offecho.echo Formating C: (NTFS)FORMAT C: /FS:NTFS /Q /Yecho.echo Copying $OEM$ to C:MD C:\$OEM$CD /D X:\WinXP\$OEM$XCOPY /E *.* C:\$OEM$echo.echo Copying i386 to C:MD C:\i386Attrib +H C:\i386CD /D X:\WinXP\i386XCOPY /E *.* C:\i386echo.echo Installing Windows XPCD /D C:\i386WinNT32 /S:C:\i386 /Unattend:Unattend.txtExitC:\i386\Unattend.txt;SetupMgrTag[Data] AutomaticUpdates=1 AutoPartition=0 MsDosInitiated=0 UnattendedInstall=1[Unattended] Win9xUpgrade=No NTUpgrade=No TargetPath=\Windows UnattendMode=ProvideDefault UnattendSwitch=Yes OemPreinstall=Yes OemPnPDriversPath="%SystemDrive%\$OEM$\$1\Drivers\0_Chipset;%SystemDrive%\$OEM$\$1\Drivers\Drivers\1_Network" OemSkipEula=Yes[GuiUnattended] EncryptedAdminPassword=No ProfilesDir="C:\Documents & Settings\" OEMSkipRegional=1[UserData] ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="" OrgName=""[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=75[TapiLocation] CountryCode=1 Dialing=Tone[Identification] JoinWorkgroup=Workgroup[Networking] InstallDefaultComponents=Yes[Components] msnexplr=off zonegames=offC:\i386\SvcPack.inf[Version] Signature="$Windows NT$"MajorVersion=5MinorVersion=1BuildNumber=2600[SetupData]CatalogSubDir="\i386\HotFixes"[ProductCatalogsToInstall][SetupHotfixesToRun]KB834707.exe /Q /O /N /Zqchain.exeC:\$OEM$\CmdLines.txtECHO.ECHO Installing .NET Framework v1.1start /wait %SystemDrive%\Install\NetFramework\netfx.msi /QBECHO.ECHO Installing .NET Framework v1.1 SP1start /wait %SystemDrive%\Install\NetFramework\KB867460.exe /QECHO.ECHO Installing Windows Media Player 10start /wait %SystemDrive%\Install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"ECHO.ECHO Installing Windows Messenger 5.0start /wait %SystemDrive%\Install\Messenger\Messenger.msi /QBThe DVD boots, I can wipe whatever drive I want, the WinXP.bat copies the $OEM$ & i386 directories to the C: drive, Starts an unattended installation, completes the install without error, but MSN Explorer 7 and MSN Zone Games are installed when I scripted them not to be, SvcPack.inf ran successfully but CmdLines.txt did not.It seems like $OEM$ never gets processed? I've read most of http://unattended.msfn.org and the searched the Microsoft Windows Corporate Deployment Tools User's Guide (CHM)
Alanoll Posted November 15, 2004 Posted November 15, 2004 since you're executing the install from within WIndows, $OEM$ needs to be within I386 i believe.CMDLINES.TXT does not work, because you didn't write one. You have a file called CMDLINES.TXT but it is NOT the proper format.[Commands]"COmmand 1""COmmand 2"Is how CMDLINES.TXT should look. Most people call a batch file (what you currently have) from CMDLINES.TXT because alot of DOS functions are not available directly from CMDLINES.TXT but calling a batch file solves that.As for MSN Explorer and MSN Messenger, do a search. SOmetimes its the placement within WINNT.SIF and it fixes it (usually right after GUIUnattend). If that doesn't, try using nLite to completely remove it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now