PX_Darkness Posted September 21, 2006 Share Posted September 21, 2006 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. Link to comment Share on other sites More sharing options...
Ctrl-X Posted September 21, 2006 Share Posted September 21, 2006 OEMPreInstall should be set to "Yes" for the $OEM$ folder structure to be copied. Link to comment Share on other sites More sharing options...
PX_Darkness Posted September 21, 2006 Author Share Posted September 21, 2006 (edited) ahhhhhhhhhh ok that slipped by my eyes, i didnt even notice that option. Thanks for your help!! Edited September 21, 2006 by PX_Darkness Link to comment Share on other sites More sharing options...
PX_Darkness Posted September 22, 2006 Author Share Posted September 22, 2006 hmmmm still no luck, i just tested it and it still doesnt copy OEM to my HD. Link to comment Share on other sites More sharing options...
PX_Darkness Posted September 25, 2006 Author Share Posted September 25, 2006 No one has ANY ideas as to why my OEM folder i created isnt getting copied?? Link to comment Share on other sites More sharing options...
Ctrl-X Posted September 25, 2006 Share Posted September 25, 2006 Are you sure you created it in the correct location? Where did you put it and what does the subfolder structure look like? Link to comment Share on other sites More sharing options...
Takeshi Posted September 25, 2006 Share Posted September 25, 2006 I created the OEM folder...It isn't OEM, but $OEM$.It has to be parallel to i386, not inside, for CD installs. Link to comment Share on other sites More sharing options...
RickSteele Posted September 25, 2006 Share Posted September 25, 2006 (edited) 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, 2006 by RickSteele Link to comment Share on other sites More sharing options...
bledd Posted September 25, 2006 Share Posted September 25, 2006 yupyou need OEMPreinstall=yeswinnt.sif lives in the i386 folder Link to comment Share on other sites More sharing options...
Gee Posted September 26, 2006 Share Posted September 26, 2006 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 Link to comment Share on other sites More sharing options...
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