Jump to content

No $OEM$ folder


Recommended Posts

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 off
TITLE Windows XP SP2 - Unattended Installation

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO tweaks being implemented. The computer will restart automatically
ECHO 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 Applications

ECHO.
ECHO Installing Mozilla Firefox
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Firefox\firefox.exe -ms

ECHO.
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%\Drivers
RD /S /Q %systemdrive%\install

EXIT

Heres 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=Yes

The 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


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 $1

I386 is a separate folder on it's own.

Look here:

http://unattended.msfn.org/unattended.xp/view/web/18/

Edited by RickSteele
Link to comment
Share on other sites

RickSteele is correct.

This is how you have to create your directory structure and it has to be MANUALLY created.

$OEM$\$1\Install\Firefox.exe

Now in your batch file should work if you modify it to this

start /wait %systemdrive%\install\firefox.exe -ms

If you want to keep the original batch

start /wait %systemdrive%\install\Applications\Firefox\firefox.exe -ms

Then you will have to create all the folders

$OEM$\$1\Install\Applications\Firefox\Firefox.exe

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...