MSFN Forum: No $OEM$ folder - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

No $OEM$ folder Rate Topic: -----

#1 User is offline   PX_Darkness 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 21-September 06

Posted 21 September 2006 - 02:45 PM

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.


#2 User is offline   Ctrl-X 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 444
  • Joined: 29-August 06

Posted 21 September 2006 - 02:57 PM

OEMPreInstall should be set to "Yes" for the $OEM$ folder structure to be copied.

#3 User is offline   PX_Darkness 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 21-September 06

Posted 21 September 2006 - 03:00 PM

ahhhhhhhhhh ok that slipped by my eyes, i didnt even notice that option. Thanks for your help!!

This post has been edited by PX_Darkness: 21 September 2006 - 03:00 PM


#4 User is offline   PX_Darkness 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 21-September 06

Posted 22 September 2006 - 11:43 AM

hmmmm still no luck, i just tested it and it still doesnt copy OEM to my HD.

#5 User is offline   PX_Darkness 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 21-September 06

Posted 25 September 2006 - 11:15 AM

No one has ANY ideas as to why my OEM folder i created isnt getting copied??

#6 User is offline   Ctrl-X 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 444
  • Joined: 29-August 06

Posted 25 September 2006 - 01:48 PM

Are you sure you created it in the correct location? Where did you put it and what does the subfolder structure look like?

#7 User is offline   Takeshi 

  • Legitchecking...
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,107
  • Joined: 09-September 04

Posted 25 September 2006 - 02:53 PM

View PostPX_Darkness, on Sep 21 2006, 03:45 PM, said:

I created the OEM folder...


It isn't OEM, but $OEM$.

It has to be parallel to i386, not inside, for CD installs.

#8 User is offline   RickSteele 

  • Rick Steele
  • PipPip
  • Group: Members
  • Posts: 259
  • Joined: 13-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 September 2006 - 03:06 PM

View PostPX_Darkness, on Sep 22 2006, 11:43 AM, said:

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.ms...xp/view/web/18/

This post has been edited by RickSteele: 25 September 2006 - 03:11 PM


#9 User is offline   bledd 

  • msfn is a friend of mine!
  • Group: Supreme Sponsor
  • Posts: 1,732
  • Joined: 24-March 04

Posted 25 September 2006 - 03:26 PM

yup

you need OEMPreinstall=yes
winnt.sif lives in the i386 folder :)

#10 User is offline   Gee 

  • Member
  • PipPip
  • Group: Members
  • Posts: 275
  • Joined: 31-October 03

Posted 26 September 2006 - 04:08 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy