September 21, 200619 yr There is no $OEM$ folder on my windows XP SP2 CD. I tried searching for the answer but I didnt have any luck so sorry if this is a commonly asked question.I created the OEM folder and threw a firefox.exe in there and this is my batch script:CLS@echo offTITLE Windows XP SP2 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Removing useless shortcuts...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"ECHO.ECHO Starting installation of ApplicationsECHO.ECHO Installing Mozilla FirefoxECHO Please wait...start /wait %systemdrive%\install\Applications\Firefox\firefox.exe -msECHO.ECHO Restarting the PC in 1 minute...shutdown.exe -r -f -t 60 -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%\DriversRD /S /Q %systemdrive%\installEXITHeres my WINNT.SIF file:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=No TargetPath=\WINDOWS[GuiUnattended] AdminPassword= EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=15 OemSkipWelcome=1[UserData] ProductKey= FullName="administrator" OrgName="Arizona Respiratory Center" ComputerName=*[GuiRunOnce]%systemdrive%\install\batch_file.cmd[Identification] JoinWorkgroup=ARC.ARIZONA.EDU[Networking] InstallDefaultComponents=YesThe windows install will attempt to run my batch script but it says it cannot find it becuase the OEM folder isnt being copied to the HD.Anyone know why my OEM folder isnt being copied to the HD? Is it becuase I created it by hand?Thanks for your help.
September 21, 200619 yr OEMPreInstall should be set to "Yes" for the $OEM$ folder structure to be copied.
September 21, 200619 yr Author ahhhhhhhhhh ok that slipped by my eyes, i didnt even notice that option. Thanks for your help!! Edited September 21, 200619 yr by PX_Darkness
September 22, 200619 yr Author hmmmm still no luck, i just tested it and it still doesnt copy OEM to my HD.
September 25, 200619 yr Author No one has ANY ideas as to why my OEM folder i created isnt getting copied??
September 25, 200619 yr Are you sure you created it in the correct location? Where did you put it and what does the subfolder structure look like?
September 25, 200619 yr I created the OEM folder...It isn't OEM, but $OEM$.It has to be parallel to i386, not inside, for CD installs.
September 25, 200619 yr hmmmm still no luck, i just tested it and it still doesnt copy OEM to my HD.Like This;$OEM$\$1\your installation folder\your command file and executables etc.>I386$OEM$ is one folder, $1 is a subfolder of $OEM$, "your installation folder" sans quotes is a subfolder of $1I386 is a separate folder on it's own.Look here:http://unattended.msfn.org/unattended.xp/view/web/18/ Edited September 25, 200619 yr by RickSteele
September 26, 200619 yr RickSteele is correct.This is how you have to create your directory structure and it has to be MANUALLY created.$OEM$\$1\Install\Firefox.exeNow in your batch file should work if you modify it to thisstart /wait %systemdrive%\install\firefox.exe -msIf you want to keep the original batchstart /wait %systemdrive%\install\Applications\Firefox\firefox.exe -msThen you will have to create all the folders$OEM$\$1\Install\Applications\Firefox\Firefox.exe
Create an account or sign in to comment